@font-face {
  font-family: 'Book Antiqua';
  src: url('/assets/wedding/fonts/ofont.ru_Book%20Antiqua.ttf')
    format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bickham Script One';
  src: url('/assets/wedding/fonts/ofont.ru_Bickham%20Script%20One.ttf')
    format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Local';
  src: url('/assets/wedding/fonts/ofont.ru_Montserrat.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-serif: 'Book Antiqua', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-script:
    'Bickham Script One', 'Bickham Script Pro', 'Bickham Script Pro 3',
    'Bickham Script', 'Sacramento', cursive;
  --font-form: 'Montserrat Local', Montserrat, Arial, sans-serif;
  --color-accent: #9b7a45;
  --color-accent-hover: #7f6135;
  --color-accent-soft: #d5c39f;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-script);
  font-weight: 400;
}

.fh5co-nav #fh5co-logo,
#fh5co-logo a,
#fh5co-header .display-tc h1,
#fh5co-counter .display-tc h1,
.fh5co-cover .display-tc h1,
.fh5co-heading h2,
.couple-half h3 {
  font-family: var(--font-script);
  font-weight: 400;
}

#fh5co-header .display-tc h2 {
  max-width: 980px;
  margin: 8px auto 40px;
  font-family: var(--font-script);
  font-size: 62px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
}

@media screen and (max-width: 768px) {
  #fh5co-header .display-tc h2 {
    max-width: 620px;
    margin: 8px auto 30px;
    font-size: 50px;
    line-height: 1.25;
  }
}

@media screen and (max-width: 480px) {
  #fh5co-header .display-tc h2 {
    font-size: 34px;
  }
}

a,
a:hover,
a:active,
a:focus,
.fh5co-nav ul li.btn-cta a,
.fh5co-social-icons li a,
.fh5co-contact-info ul li:before,
#fh5co-header .display-tc .btn,
#fh5co-counter .display-tc .btn,
.fh5co-cover .display-tc .btn,
.heart i,
.couple-half h3,
.feature-center .icon i,
.fh5co-heading h2,
#fh5co-testimonial .wrap-testimony .testimony-slide span a.twitter,
.feature-left .icon i,
.btn-primary.btn-outline {
  color: var(--color-accent);
}

.feature-left .icon {
  align-items: center;
  color: var(--color-accent);
  display: flex;
  justify-content: center;
}

.feature-left .icon .feature-icon-svg {
  display: block;
  fill: none;
  height: 30px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 30px;
}

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

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

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

.btn-primary,
#fh5co-started .btn,
.btn-primary.btn-outline:hover,
.btn-primary.btn-outline:focus,
.btn-primary.btn-outline:active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--color-accent-hover) !important;
  border-color: var(--color-accent-hover) !important;
}

.btn-primary.btn-outline,
.owl-carousel .owl-controls .owl-dot.active span {
  border-color: var(--color-accent);
}

.form-control:active,
.form-control:focus {
  border-color: var(--color-accent);
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.fh5co-nav ul li a.active {
  color: #fff;
  border-bottom: 2px solid var(--color-accent);
}

#fh5co-logo .logo-text {
  color: #fff;
  display: inline-block;
  padding: 5px 10px;
  cursor: default;
  user-select: none;
}

#fh5co-logo {
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

#fh5co-logo.is-scrolled-out {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
}

.btn-rsvp {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.btn-rsvp:hover,
.btn-rsvp:focus {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

#fh5co-started .rsvp-form {
  font-family: var(--font-form);
  margin-top: 10px;
}

#fh5co-started {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#fh5co-started .overlay {
  background: rgba(0, 0, 0, 0.25);
}

#fh5co-started .rsvp-form label,
#fh5co-started .rsvp-form .form-label,
#fh5co-started .rsvp-form .form-control,
#fh5co-started .rsvp-form .radio label,
#fh5co-started .rsvp-form .checkbox label,
#fh5co-started .rsvp-form .contact-hint,
#fh5co-started .rsvp-form button {
  font-family: var(--font-form);
}

#fh5co-started .rsvp-form label,
#fh5co-started .rsvp-form .form-label {
  color: #fff;
  font-weight: 600;
}

#fh5co-started .rsvp-form .contact-hint {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

#fh5co-started .rsvp-form .form-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

#fh5co-started .rsvp-form .form-control::placeholder {
  font-family: var(--font-form);
}

#fh5co-started .rsvp-form .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-accent-soft);
  box-shadow: none;
}

#form-status {
  margin-top: 8px;
  color: #fff;
  min-height: 18px;
  text-align: right;
}

#form-status.success {
  color: #c7ffda;
}

#form-status.error {
  color: #ffd1d9;
}

#form-status.pending {
  color: #ffe4b3;
}

.status {
  font-size: 13px;
}

.simply-countdown-one {
  margin-top: 20px;
}

#fh5co-started .rsvp-form .drinks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 8px 14px;
}

#fh5co-started .rsvp-form .drinks-grid label {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

#fh5co-started .rsvp-form .drinks-limit-status {
  margin-top: 8px;
  min-height: 18px;
}

#fh5co-started .rsvp-form .drinks-limit-status.error {
  color: #ffd1d9;
}

#fh5co-started .rsvp-form .is-hidden {
  display: none;
}

@media screen and (max-width: 767px) {
  #fh5co-started .rsvp-form .drinks-grid {
    grid-template-columns: 1fr;
  }
}

#fh5co-started .rsvp-form #guests-wrapper {
  margin-bottom: 10px;
}

#fh5co-started .rsvp-form .guest-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#fh5co-started .rsvp-form #partner-wrapper,
#fh5co-started .rsvp-form #children-details-wrapper {
  margin-top: 10px;
}

#fh5co-couple-story .timeline > li > .timeline-badge {
  background-image: none !important;
  background-color: #ffffff;
  border: 1px solid #a0a0a0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #747474;
}

@media screen and (max-width: 480px) {
  #fh5co-couple-story .timeline > li > .timeline-badge {
    font-size: 12px;
  }
}

#fh5co-location .location-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 28px 26px;
  min-height: 420px;
}

#fh5co-location .location-address-title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.3;
  color: #2f2f2f;
}

#fh5co-location .location-address {
  margin: 0 0 16px;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 600;
  color: #2f2f2f;
}

#fh5co-location .location-note {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.75;
  color: #666;
}

#fh5co-location .location-link {
  display: inline-block;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

#fh5co-services .feature-copy a,
#fh5co-location .location-address-map-link {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: none;
}

#fh5co-services .feature-copy a:hover,
#fh5co-services .feature-copy a:focus,
#fh5co-location .location-address-map-link:hover,
#fh5co-location .location-address-map-link:focus {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

#fh5co-started .rsvp-form .contact-hint a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#fh5co-started .rsvp-form .contact-hint a:hover,
#fh5co-started .rsvp-form .contact-hint a:focus {
  color: #fff;
}

#fh5co-location .location-map-wrap {
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
  min-height: 420px;
}

#fh5co-location .location-map {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

#fh5co-location .location-map-image {
  object-fit: cover;
}

/* Spacing fixes: location + footer */
#fh5co-location {
  padding: 5.5em 0 4em;
  scroll-margin-top: 90px;
}

#fh5co-location .fh5co-heading {
  margin-bottom: 2em;
}

#fh5co-location .fh5co-heading p {
  margin-bottom: 0;
}

@media screen and (max-width: 991px) {
  #fh5co-location .location-card {
    min-height: 0;
    margin-bottom: 20px;
  }

  #fh5co-location .location-map-wrap,
  #fh5co-location .location-map {
    min-height: 360px;
    height: 360px;
  }
}

#fh5co-footer {
  padding: 2.8em 0 2em;
}

#fh5co-footer .copyright p {
  margin-bottom: 10px;
}

#fh5co-footer .fh5co-social-icons {
  margin: 0;
}

#fh5co-header .overlay {
  background: rgba(0, 0, 0, 0.25);
}

#fh5co-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width: 767px) {
  #fh5co-header {
    background-position: 82% center !important;
  }

  #fh5co-location {
    padding: 3.5em 0 2.5em;
    scroll-margin-top: 70px;
  }

  #fh5co-location .fh5co-heading {
    margin-bottom: 1.4em;
  }

  #fh5co-location .location-card {
    padding: 20px 18px;
  }

  #fh5co-location .location-address-title {
    font-size: 18px;
  }

  #fh5co-location .location-address {
    font-size: 48px;
  }

  #fh5co-location .location-link {
    font-size: 18px;
  }

  #fh5co-location .location-map-wrap,
  #fh5co-location .location-map {
    min-height: 320px;
    height: 320px;
  }

  #fh5co-footer {
    padding: 2em 0 1.5em;
  }
}

/* RSVP form typography override */
#fh5co-started .rsvp-form,
#fh5co-started .rsvp-form * {
  font-family: var(--font-form) !important;
}

#fh5co-started .rsvp-form label,
#fh5co-started .rsvp-form .form-label,
#fh5co-started .rsvp-form .radio label,
#fh5co-started .rsvp-form .checkbox label {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: 0.01em;
}

#fh5co-started .rsvp-form > .row > [class*='col-'] > .form-group > label,
#fh5co-started .rsvp-form .guest-toggle > label {
  font-size: 17px !important;
  font-weight: 500 !important;
}

#fh5co-started .rsvp-form .form-control {
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

#fh5co-started .rsvp-form .form-control::placeholder {
  font-size: 15px !important;
  font-weight: 400 !important;
}

/* Content sections typography override */
#fh5co-couple-story .timeline,
#fh5co-couple-story .timeline *,
#fh5co-services .feature-copy,
#fh5co-services .feature-copy * {
  font-family: var(--font-form) !important;
}

#fh5co-couple-story .timeline-title,
#fh5co-services .feature-copy h3 {
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#fh5co-couple-story .timeline-heading .date,
#fh5co-couple-story .timeline-body p,
#fh5co-services .feature-copy p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  letter-spacing: 0.01em;
}

#fh5co-couple-story .timeline > li > .timeline-badge {
  font-family: var(--font-form) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
}

/* Mobile layout fixes */
#fh5co-offcanvas,
.fh5co-nav-toggle {
  display: none !important;
}

body.offcanvas {
  overflow: auto !important;
}

body.offcanvas #page {
  overflow-x: hidden !important;
  position: relative !important;
}

body.offcanvas #page:after {
  display: none !important;
}

@media screen and (max-width: 767px) {
  #fh5co-header .display-tc h1,
  #fh5co-counter .display-tc h1,
  .fh5co-cover .display-tc h1 {
    font-size: 78px !important;
    line-height: 0.95 !important;
    margin-bottom: 12px !important;
  }

  #fh5co-header .display-tc h2 {
    font-size: 38px !important;
    line-height: 1.25 !important;
    margin: 10px auto 34px !important;
    max-width: 340px;
  }

  .fh5co-heading {
    margin-bottom: 2.8em;
  }

  .fh5co-heading h2,
  #fh5co-started .fh5co-heading h2 {
    font-size: 56px !important;
    line-height: 1.05 !important;
  }

  #fh5co-couple-story .timeline {
    padding: 14px 0 10px;
  }

  #fh5co-couple-story .timeline:before {
    left: 44px !important;
    margin-left: 0 !important;
  }

  #fh5co-couple-story .timeline > li {
    margin-bottom: 28px;
  }

  #fh5co-couple-story .timeline > li > .timeline-badge {
    font-size: 20px !important;
    height: 72px !important;
    left: 8px !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    margin-left: 0 !important;
    top: 18px !important;
    white-space: nowrap;
    width: 72px !important;
    z-index: 2;
  }

  #fh5co-couple-story .timeline > li > .timeline-panel {
    float: none !important;
    margin-left: 120px;
    padding: 24px 20px;
    width: auto !important;
  }

  #fh5co-couple-story .timeline > li > .timeline-panel:before,
  #fh5co-couple-story
    .timeline
    > li.timeline-inverted
    > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
    top: 36px;
  }

  #fh5co-couple-story .timeline > li > .timeline-panel:after,
  #fh5co-couple-story .timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
    top: 37px;
  }
}
