/* global.css */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;500&display=swap');

*,
::before,
::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
  tab-size: 4;
  /* 3 */
  font-family: Source Sans 3, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

:root {
  /* Primary Colors - Warm Stone (Cultural Authenticity Anchor) */
  --color-primary: #8B7355;
  /* stone-500 */
  --color-primary-50: #F7F5F2;
  /* stone-50 */
  --color-primary-100: #EBE6DF;
  /* stone-100 */
  --color-primary-200: #D9CFC2;
  /* stone-200 */
  --color-primary-300: #C4B5A3;
  /* stone-300 */
  --color-primary-400: #A89479;
  /* stone-400 */
  --color-primary-500: #8B7355;
  /* stone-500 */
  --color-primary-600: #6F5C44;
  /* stone-600 */
  --color-primary-700: #564635;
  /* stone-700 */
  --color-primary-800: #3E3227;
  /* stone-800 */
  --color-primary-900: #2C2419;
  /* stone-900 */
  /* Secondary Colors - Limestone Elegance (Sophisticated Backgrounds) */
  --color-secondary: #D4C4A8;
  /* limestone-500 */
  --color-secondary-50: #FAF8F4;
  /* limestone-50 */
  --color-secondary-100: #F2EDE3;
  /* limestone-100 */
  --color-secondary-200: #E8DFD0;
  /* limestone-200 */
  --color-secondary-300: #DED1BC;
  /* limestone-300 */
  --color-secondary-400: #D4C4A8;
  /* limestone-400 */
  --color-secondary-500: #C4B193;
  /* limestone-500 */
  --color-secondary-600: #A89776;
  /* limestone-600 */
  --color-secondary-700: #8A7A5E;
  /* limestone-700 */
  --color-secondary-800: #6B5D4F;
  /* limestone-800 */
  --color-secondary-900: #4D4238;
  /* limestone-900 */
  /* Accent Colors - Refined Gold (Premium Interaction Moments) */
  --color-accent: #C9A876;
  /* gold-500 */
  --color-accent-50: #FAF7F1;
  /* gold-50 */
  --color-accent-100: #F3EBD9;
  /* gold-100 */
  --color-accent-200: #E8D9B8;
  /* gold-200 */
  --color-accent-300: #DBC497;
  /* gold-300 */
  --color-accent-400: #C9A876;
  /* gold-400 */
  --color-accent-500: #B8956A;
  /* gold-500 */
  --color-accent-600: #9A7A56;
  /* gold-600 */
  --color-accent-700: #7C6144;
  /* gold-700 */
  --color-accent-800: #5E4933;
  /* gold-800 */
  --color-accent-900: #423324;
  /* gold-900 */
  /* Background Colors */
  --color-background: #FEFCF8;
  /* warm-white */
  --color-surface: #F5F2ED;
  /* subtle-cream */
  /* Text Colors */
  --color-text-primary: #2C2419;
  /* rich-charcoal */
  --color-text-secondary: #6B5D4F;
  /* warm-grey */
  /* Semantic Colors */
  --color-success: #7A8471;
  /* sage-500 */
  --color-success-light: #C8D1C3;
  /* sage-200 */
  --color-success-dark: #5A6352;
  /* sage-700 */
  --color-warning: #B8956A;
  /* amber-500 */
  --color-warning-light: #E5D5B8;
  /* amber-200 */
  --color-warning-dark: #8A6F4F;
  /* amber-700 */
  --color-error: #A67C52;
  /* terracotta-500 */
  --color-error-light: #D9BFA3;
  /* terracotta-200 */
  --color-error-dark: #7D5D3E;
  /* terracotta-700 */
  /* Shadow Definitions */
  --shadow-subtle: 0 4px 20px rgba(139, 115, 85, 0.08);
  --shadow-interactive: 0 6px 24px rgba(139, 115, 85, 0.12);
  --shadow-gallery: 0 8px 32px rgba(139, 115, 85, 0.16);
  --shadow-lightbox: 0 12px 48px rgba(139, 115, 85, 0.24);
  /* Border Definitions */
  --border-subtle: 1px solid #D4C4A8;
  --border-cultural: 2px solid #C9A876;
  /* Animation Durations */
  --duration-fast: 200ms;
  --duration-base: 300ms;
  --duration-slow: 400ms;
  --duration-ceremonial: 500ms;
  /* Typography Scale */
  --font-headline: 'Crimson Text', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;
}

body {
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 248 / var(--tw-bg-opacity, 1));
  font-family: Source Sans 3, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(44 36 25 / var(--tw-text-opacity, 1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Crimson Text, serif;
  font-weight: 600;
  font-family: var(--font-headline);
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  line-height: 1;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4.5rem;
    line-height: 1;
  }
}

h2 {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

@media (min-width: 768px) {
  h2 {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  h2 {
    font-size: 3.75rem;
    line-height: 1;
  }
}

h3 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

@media (min-width: 768px) {
  h3 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 1024px) {
  h3 {
    font-size: 3rem;
    line-height: 1;
  }
}

h4 {
  font-size: 1.5rem;
  line-height: 2rem;
}

@media (min-width: 768px) {
  h4 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 1024px) {
  h4 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

h5 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  h5 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (min-width: 1024px) {
  h5 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

h6 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  h6 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  h6 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

p {
  font-size: 1rem;
  line-height: 1.5rem;
}

@media (min-width: 768px) {
  p {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

p {
  line-height: 1.75;
}

a {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

button {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

/* Button Styles */

.btn-primary {
  border-radius: 0.125rem;
  --tw-bg-opacity: 1;
  background-color: rgb(139 115 85 / var(--tw-bg-opacity, 1));
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-family: Crimson Text, serif;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(254 252 248 / var(--tw-text-opacity, 1));
  font-family: var(--font-headline);
}

.btn-primary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(111 92 68 / var(--tw-bg-opacity, 1));
}

.btn-primary:active {
  --tw-bg-opacity: 1;
  background-color: rgb(86 70 53 / var(--tw-bg-opacity, 1));
}

.btn-primary {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  --tw-shadow: 0 6px 24px rgba(139, 115, 85, 0.12);
  --tw-shadow-colored: 0 6px 24px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-primary:hover {
  --tw-shadow: 0 8px 32px rgba(139, 115, 85, 0.16);
  --tw-shadow-colored: 0 8px 32px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-accent {
  border-radius: 0.125rem;
  --tw-bg-opacity: 1;
  background-color: rgb(201 168 118 / var(--tw-bg-opacity, 1));
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-family: Crimson Text, serif;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(254 252 248 / var(--tw-text-opacity, 1));
  font-family: var(--font-headline);
}

.btn-accent:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(154 122 86 / var(--tw-bg-opacity, 1));
}

.btn-accent:active {
  --tw-bg-opacity: 1;
  background-color: rgb(124 97 68 / var(--tw-bg-opacity, 1));
}

.btn-accent {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  --tw-shadow: 0 6px 24px rgba(139, 115, 85, 0.12);
  --tw-shadow-colored: 0 6px 24px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-accent:hover {
  --tw-shadow: 0 8px 32px rgba(139, 115, 85, 0.16);
  --tw-shadow-colored: 0 8px 32px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-outline {
  border-radius: 0.125rem;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(139 115 85 / var(--tw-border-opacity, 1));
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-family: Crimson Text, serif;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(139 115 85 / var(--tw-text-opacity, 1));
  font-family: var(--font-headline);
}

.btn-outline:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(139 115 85 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(254 252 248 / var(--tw-text-opacity, 1));
}

.btn-outline:active {
  --tw-bg-opacity: 1;
  background-color: rgb(86 70 53 / var(--tw-bg-opacity, 1));
}

.btn-outline {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

/* Card Styles */

.card {
  border-radius: 0.125rem;
  --tw-bg-opacity: 1;
  background-color: rgb(245 242 237 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .card {
    padding: 2rem;
  }
}

.card {
  --tw-shadow: 0 4px 20px rgba(139, 115, 85, 0.08);
  --tw-shadow-colored: 0 4px 20px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.card:hover {
  --tw-shadow: 0 6px 24px rgba(139, 115, 85, 0.12);
  --tw-shadow-colored: 0 6px 24px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.card {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 400ms;
}

.card-elevated {
  border-radius: 0.125rem;
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 248 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .card-elevated {
    padding: 2rem;
  }
}

.card-elevated {
  --tw-shadow: 0 6px 24px rgba(139, 115, 85, 0.12);
  --tw-shadow-colored: 0 6px 24px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.card-elevated:hover {
  --tw-shadow: 0 8px 32px rgba(139, 115, 85, 0.16);
  --tw-shadow-colored: 0 8px 32px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.card-elevated {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 400ms;
}

/* Form Styles */

.form-input {
  width: 100%;
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(212 196 168 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 248 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-family: Source Sans 3, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(44 36 25 / var(--tw-text-opacity, 1));
  font-family: var(--font-body);
}

.form-input:focus {
  --tw-border-opacity: 1;
  border-color: rgb(201 168 118 / var(--tw-border-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(201 168 118 / 0.2);
}

.form-input {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.form-textarea {
  width: 100%;
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(212 196 168 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 248 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  min-height: 120px;
  font-family: Source Sans 3, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(44 36 25 / var(--tw-text-opacity, 1));
  font-family: var(--font-body);
}

.form-textarea:focus {
  --tw-border-opacity: 1;
  border-color: rgb(201 168 118 / var(--tw-border-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(201 168 118 / 0.2);
}

.form-textarea {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.form-label {
  margin-bottom: 0.5rem;
  display: block;
  font-family: Source Sans 3, sans-serif;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(107 93 79 / var(--tw-text-opacity, 1));
  font-family: var(--font-body);
}

.form-error {
  margin-top: 0.25rem;
  font-family: Source Sans 3, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(166 124 82 / var(--tw-text-opacity, 1));
  font-family: var(--font-body);
}

/* Gallery Styles */

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.125rem;
  --tw-shadow: 0 4px 20px rgba(139, 115, 85, 0.08);
  --tw-shadow-colored: 0 4px 20px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.gallery-item:hover {
  --tw-shadow: 0 8px 32px rgba(139, 115, 85, 0.16);
  --tw-shadow-colored: 0 8px 32px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.gallery-item {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 400ms;
}

.gallery-overlay {
  position: absolute;
  inset: 0px;
  background-color: rgb(139 115 85 / 0);
}

.gallery-overlay:hover {
  background-color: rgb(139 115 85 / 0.2);
}

.gallery-overlay {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 400ms;
}

/* Navigation Styles */

.nav-link {
  font-family: Source Sans 3, sans-serif;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(44 36 25 / var(--tw-text-opacity, 1));
  font-family: var(--font-body);
}

.nav-link:hover {
  --tw-text-opacity: 1;
  color: rgb(139 115 85 / var(--tw-text-opacity, 1));
}

.nav-link:active {
  --tw-text-opacity: 1;
  color: rgb(86 70 53 / var(--tw-text-opacity, 1));
}

.nav-link {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.nav-link-active {
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(139 115 85 / var(--tw-text-opacity, 1));
}

/* Section Styles */

.section-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .section-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .section-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .section-container {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.section-title {
  margin-bottom: 1.5rem;
  font-family: Crimson Text, serif;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(44 36 25 / var(--tw-text-opacity, 1));
  font-family: var(--font-headline);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
    line-height: 1;
  }
}

.section-subtitle {
  margin-bottom: 2rem;
  font-family: Source Sans 3, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  --tw-text-opacity: 1;
  color: rgb(107 93 79 / var(--tw-text-opacity, 1));
  font-family: var(--font-body);
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

/* Testimonial Styles */

.testimonial {
  font-family: Cormorant Garamond, serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 300;
  font-style: italic;
  --tw-text-opacity: 1;
  color: rgb(44 36 25 / var(--tw-text-opacity, 1));
  font-family: var(--font-accent);
}

@media (min-width: 768px) {
  .testimonial {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.testimonial {
  line-height: 1.6;
}

.testimonial-author {
  margin-top: 1rem;
  font-family: Cormorant Garamond, serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(107 93 79 / var(--tw-text-opacity, 1));
  font-family: var(--font-accent);
}

@media (min-width: 768px) {
  .testimonial-author {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

/* Language Selector */

.language-selector {
  border-radius: 0.125rem;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(201 168 118 / var(--tw-border-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Source Sans 3, sans-serif;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(201 168 118 / var(--tw-text-opacity, 1));
  font-family: var(--font-body);
}

.language-selector:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(201 168 118 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(254 252 248 / var(--tw-text-opacity, 1));
}

.language-selector {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
}

/* Divider */

.divider {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(212 196 168 / var(--tw-border-opacity, 1));
}

@media (min-width: 768px) {
  .divider {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

/* Badge */

.badge {
  display: inline-block;
  border-radius: 0.125rem;
  background-color: rgb(201 168 118 / 0.1);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-family: Source Sans 3, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(201 168 118 / var(--tw-text-opacity, 1));
  font-family: var(--font-body);
}

/* Alert Styles */

.alert-success {
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(122 132 113 / var(--tw-border-opacity, 1));
  background-color: rgb(122 132 113 / 0.1);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  --tw-text-opacity: 1;
  color: rgb(90 99 82 / var(--tw-text-opacity, 1));
}

.alert-error {
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(166 124 82 / var(--tw-border-opacity, 1));
  background-color: rgb(166 124 82 / 0.1);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  --tw-text-opacity: 1;
  color: rgb(125 93 62 / var(--tw-text-opacity, 1));
}

/* Evita “saltos” horizontais entre páginas com e sem scrollbar */
html {
  scrollbar-gutter: stable;
}

/* fallback para browsers antigos (opcional) */
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}

/* =========================
   Footer socials (premium hover - sem cores)
   ========================= */

/* base comum (aplica aos 2 links do footer) */
footer a[aria-label="Facebook"],
footer a[aria-label="Instagram"] {
  width: 32px;
  height: 32px;

  border-radius: 9999px !important;
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* NORMAL: discreto */
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.72) !important; /* ícone quase branco */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);

  transform: translateZ(0);
  will-change: transform;

  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1),
    background 320ms ease,
    color 320ms ease,
    filter 320ms ease;
}

/* o svg segue a cor (fill="currentColor") */
footer a[aria-label="Facebook"] svg,
footer a[aria-label="Instagram"] svg {
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* brilho “sheen” (surpresa subtil) */
footer a[aria-label="Facebook"]::before,
footer a[aria-label="Instagram"]::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 65%
  );
  transform: translateX(-60%) rotate(8deg);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 650ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 260ms ease;
}

/* hover premium: lift + zoom + sombra (SEM mudar cores) */
footer a[aria-label="Facebook"]:hover,
footer a[aria-label="Instagram"]:hover {
  transform: translateY(-1px) scale(1.10);
  filter: saturate(1.08);

  /* mantém o mesmo “tom”, só melhora */
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.92) !important;

  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.20);
}

footer a[aria-label="Facebook"]:hover svg,
footer a[aria-label="Instagram"]:hover svg {
  transform: scale(1.06);
}

/* ativa o sheen no hover */
footer a[aria-label="Facebook"]:hover::before,
footer a[aria-label="Instagram"]:hover::before {
  opacity: 1;
  transform: translateX(60%) rotate(8deg);
}

/* click feedback */
footer a[aria-label="Facebook"]:active,
footer a[aria-label="Instagram"]:active {
  transform: translateY(0) scale(1.05);
}

/* foco acessível */
footer a[aria-label="Facebook"]:focus-visible,
footer a[aria-label="Instagram"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.55);
}

/* reduz motion */
@media (prefers-reduced-motion: reduce) {
  footer a[aria-label="Facebook"],
  footer a[aria-label="Instagram"],
  footer a[aria-label="Facebook"]::before,
  footer a[aria-label="Instagram"]::before,
  footer a[aria-label="Facebook"] svg,
  footer a[aria-label="Instagram"] svg {
    transition: none !important;
  }
}

/* =========================================
   NAV underline base (para páginas sem CSS próprio)
   - cria ::before/::after só para links do nav (data-translate="nav.*")
   ========================================= */

:where(#main-header nav a[data-translate^="nav."]) {
  position: relative;
  display: inline-block;
  padding: 6px 0;
}

/* pseudo-elementos (underline em 2 metades) */
:where(#main-header nav a[data-translate^="nav."]::before),
:where(#main-header nav a[data-translate^="nav."]::after) {
  content: "";
  position: absolute;
  bottom: -7px;
  height: 1px;
  width: 28%;
  opacity: 0;
  background: rgba(44, 36, 25, 0.30);
  transition: transform 620ms ease, opacity 620ms ease, background-color 620ms ease;
}

:where(#main-header nav a[data-translate^="nav."]::before) {
  left: 50%;
  transform: translateX(-2px) scaleX(0);
  transform-origin: right;
}

:where(#main-header nav a[data-translate^="nav."]::after) {
  right: 50%;
  transform: translateX(2px) scaleX(0);
  transform-origin: left;
}

/* =========================================
   Underline permanente no link da página atual
   ========================================= */

#main-header nav a[aria-current="page"]::before,
#main-header nav a[aria-current="page"]::after {
  opacity: 1 !important;
  transform: translateX(0) scaleX(1) !important;
}

/* hover noutro item: esconde underline do ativo temporariamente */
#main-header nav:hover a[aria-current="page"]:not(:hover)::before {
  opacity: 0 !important;
  transform: translateX(-2px) scaleX(0) !important;
}

#main-header nav:hover a[aria-current="page"]:not(:hover)::after {
  opacity: 0 !important;
  transform: translateX(2px) scaleX(0) !important;
}

/* =========================
   Header responsive fixes
   ========================= */
@media (max-width: 1023px) {
  /* 1) Esconde o NAV desktop (fica só o botão + menu overlay) */
  #main-header > nav {
    display: none !important;
  }

  /* 2) Top bar não rebenta em ecrãs pequenos */
  #main-header > .bg-primary-900\/50 .max-w-7xl > .flex {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Phone/email: deixa partir linha se precisar */
  #main-header > .bg-primary-900\/50 .max-w-7xl > .flex > div:first-child {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Ajusta tamanhos (o teu HTML tem `text-s` que não existe) */
  #main-header > .bg-primary-900\/50 a {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  /* 3) Logo mais compacto em mobile */
  #main-header .header-surface .max-w-7xl {
    padding-top: 0.25rem !important;
    padding-bottom: 0.75rem !important;
  }

  #main-header .header-surface img {
    height: 56px !important; /* substitui o inline 88px no mobile */
    width: auto;
  }
}

/* =========================
   Mobile menu overlay tuning
   ========================= */
/* @media (max-width: 1023px) {
  #mobile-menu {
    top: 0 !important;
    z-index: 40 !important;
  }

  #mobile-menu > div {
    padding-top: 140px;
    height: 100%;
    box-sizing: border-box;
  }
} */

/* =========================
   Mobile menu — comportamento GLOBAL e consistente
   Usa a altura real do header (JS define --oh-header-h)
   ========================= */

:root {
  --oh-header-h: 0px; /* fallback */
}

/* overlay (container) */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 0ms linear 260ms;
}

#mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 260ms ease, visibility 0ms linear 0ms;
}

/* painel (a “caixa” do menu) — só mexe nisto */
#mobile-menu .mobile-menu-panel {
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 280ms ease, transform 320ms cubic-bezier(.22,.61,.36,1);

  /* começa abaixo do header real */
  padding-top: calc(var(--oh-header-h) + 20px);
  padding-bottom: 24px;
}

#mobile-menu.is-open .mobile-menu-panel {
  opacity: 1;
  transform: translateY(0);
}

/* espaçamento entre itens */
#mobile-menu .mobile-menu-panel > :not([hidden]) ~ :not([hidden]) {
  margin-top: 14px !important;
}

@media (prefers-reduced-motion: reduce) {
  #mobile-menu,
  #mobile-menu .mobile-menu-panel {
    transition: none !important;
  }
}