* {
  box-sizing: border-box;
}

:root {
  --site-header-height: 80px;
  --color-navy: #14274a;
  --color-navy-dark: #0d1b33;
  --color-navy-mid: #1d3a64;
  --color-gold: #c2a14e;
  --color-gold-light: #d9c27e;
  --color-cream: #faf8f3;
  --color-text: #3c4356;
  --font-heading: 'Lora', serif;
  --font-body: 'Mulish', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

::selection {
  background: var(--color-gold);
  color: #fff;
}

input,
select,
textarea,
button {
  font-family: var(--font-body);
}

input::placeholder,
textarea::placeholder {
  color: #9aa3b5;
}

img {
  max-width: 100%;
}

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

.site-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--site-header-height);
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 39, 74, 0.10);
  box-shadow: 0 8px 24px rgba(20, 39, 74, 0.08);
}

.site-header-fixed.navbar {
  padding: 0;
}

.site-header-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2.2vw, 32px);
  width: 100%;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 14px clamp(18px, 3.2vw, 40px);
}

.site-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--color-navy);
  text-decoration: none;
}

.site-header-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 46px;
}

.site-header-wordmark {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1;
}

.site-header-title {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.site-header-subtitle {
  margin-top: 5px;
  color: #b08d36;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.site-menu-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 28px);
  min-width: 0;
}

.site-header-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
}

.site-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.site-lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(20, 39, 74, 0.16);
  border-radius: 999px;
}

.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--color-navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(20, 39, 74, 0.18);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(20, 39, 74, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--color-navy);
  cursor: pointer;
}

.site-menu-toggle:focus {
  box-shadow: 0 0 0 3px rgba(194, 161, 78, 0.28);
}

.site-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header-fixed.is-menu-open .site-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header-fixed.is-menu-open .site-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header-fixed.is-menu-open .site-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header-spacer {
  height: var(--site-header-height);
}

.whatsapp-floating-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(194, 161, 78, 0.82);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(13, 27, 51, 0.34);
}

.whatsapp-floating-button:hover {
  background: linear-gradient(135deg, var(--color-navy-mid), var(--color-navy));
  color: #fff;
  transform: translateY(-2px);
}

.whatsapp-floating-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-navy-dark);
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  box-shadow: inset 0 0 0 2px rgba(194, 161, 78, 0.14);
}

.whatsapp-floating-icon svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

@media (max-width: 640px) {
  .whatsapp-floating-button {
    right: 16px;
    bottom: 16px;
    min-height: 52px;
    padding-right: 14px;
  }

  .whatsapp-floating-label {
    display: none;
  }
}

@media (max-width: 1100px) {
  .site-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: clamp(14px, 4vw, 28px);
    right: clamp(14px, 4vw, 28px);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(20, 39, 74, 0.12);
    border-radius: 8px;
    background: rgba(250, 248, 243, 0.98);
    box-shadow: 0 16px 32px rgba(20, 39, 74, 0.14);
  }

  .site-header-fixed.is-menu-open .site-menu-panel {
    display: flex;
  }

  .site-menu-toggle {
    display: inline-flex !important;
    justify-self: end;
  }

  .site-header-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
  }

  .site-header-nav a {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    padding: 12px 10px !important;
    white-space: normal !important;
  }

  .site-header-actions {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 10px 14px;
    border-top: 1px solid rgba(20, 39, 74, 0.10);
  }

  .site-header-cta {
    flex: 1 1 210px;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  :root {
    --site-header-height: 72px;
  }

  .site-header-shell {
    padding-inline: 14px;
  }

  .site-header-logo {
    height: 40px;
  }

  .site-header-brand {
    gap: 9px;
  }

  .site-header-title {
    font-size: 17px;
    letter-spacing: 0.1em;
  }

  .site-header-subtitle {
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .site-menu-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .site-header-logo {
    height: 36px;
  }

  .site-header-title {
    font-size: 15px;
    letter-spacing: 0.07em;
  }

  .site-header-subtitle {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
