/* ==========================================================================
   Alberto & Miriam — Wedding Website CSS (template + custom overrides)

   Based on a legacy FreeHTML5.co / ThemeWagon template.
   Most `.fh5co-*` selectors come from the original theme.

   Notes:
   - "TEMPLATE" sections are mostly unchanged.
   - "CUSTOM" sections are wedding-specific additions/overrides.
   - Some unused template CSS may remain to avoid breaking dependencies.
   ========================================================================== */

/* --- Icon font used by the original template (icomoon) --- */
@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot?srf3rx");
  src: url("../fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("../fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("../fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* ==========================================================================
   TEMPLATE STYLES (original theme)
   ========================================================================== */

/* --- Base typography & global elements (body, links, headings, selection) --- */
body {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  background: #fff;
}

#page {
  position: relative;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.offcanvas #page {
  overflow: hidden;
  position: absolute;
}
.offcanvas #page:after {
  -webkit-transition: 2s;
  -o-transition: 2s;
  transition: 2s;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 101;
  background: rgba(0, 0, 0, 0.7);
  content: "";
}

a {
  color: #0070BB;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
a:hover, a:active, a:focus {
  color: #0070BB;
  text-decoration: none;
}

/* Consistent keyboard focus without changing pointer interactions. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(0, 112, 187, 0.55) !important;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 6000;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: #005f9f;
  font-weight: 600;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}

p {
  margin-bottom: 20px;
}

h1, h2, h3, h4, h5, h6, figure {
  color: #000;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
}

::-webkit-selection {
  color: #fff;
  background: #0070BB;
}

::-moz-selection {
  color: #fff;
  background: #0070BB;
}

::selection {
  color: #fff;
  background: #0070BB;
}

/* --- Navigation (template navbar) --- */
.fh5co-nav {
  position: absolute;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  padding: 40px 0;
  z-index: 1001;
}
@media screen and (max-width: 768px) {
  .fh5co-nav {
    padding: 20px 0;
  }
}
.fh5co-nav #fh5co-logo {
  font-size: 40px;
  margin: 0;
  padding: 0;
  line-height: 40px;
  font-family: "Montserrat", Arial, serif;
}
.fh5co-nav a {
  padding: 5px 10px;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .fh5co-nav .menu-1, .fh5co-nav .menu-2 {
    display: none;
  }
}
.fh5co-nav ul {
  padding: 0;
  margin: 2px 0 0 0;
}
.fh5co-nav ul li {
  padding: 0;
  margin: 0;
  list-style: none;
  display: inline;
}
.fh5co-nav ul li a {
  font-size: 14px;
  padding: 30px 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.fh5co-nav ul li a:hover, .fh5co-nav ul li a:focus, .fh5co-nav ul li a:active {
  color: white;
}
.fh5co-nav ul li.has-dropdown {
  position: relative;
}
.fh5co-nav ul li.has-dropdown .dropdown {
  width: 130px;
  -webkit-box-shadow: 0px 14px 33px -9px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 14px 33px -9px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 14px 33px -9px rgba(0, 0, 0, 0.75);
  z-index: 1002;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 40px;
  left: 0;
  text-align: left;
  background: #fff;
  padding: 20px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  -webkit-transition: 0s;
  -o-transition: 0s;
  transition: 0s;
}
.fh5co-nav ul li.has-dropdown .dropdown:before {
  bottom: 100%;
  left: 40px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #fff;
  border-width: 8px;
  margin-left: -8px;
}
.fh5co-nav ul li.has-dropdown .dropdown li {
  display: block;
  margin-bottom: 7px;
}
.fh5co-nav ul li.has-dropdown .dropdown li:last-child {
  margin-bottom: 0;
}
.fh5co-nav ul li.has-dropdown .dropdown li a {
  padding: 2px 0;
  display: block;
  color: #999999;
  line-height: 1.2;
  text-transform: none;
  font-size: 15px;
}
.fh5co-nav ul li.has-dropdown .dropdown li a:hover {
  color: #000;
}
.fh5co-nav ul li.has-dropdown:hover a, .fh5co-nav ul li.has-dropdown:focus a {
  color: #fff;
}
.fh5co-nav ul li.btn-cta a {
  color: #0070BB;
}
.fh5co-nav ul li.btn-cta a span {
  background: #fff;
  padding: 4px 20px;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  border-radius: 100px;
}
.fh5co-nav ul li.btn-cta a:hover span {
  -webkit-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75);
}
.fh5co-nav ul li.active > a {
  color: #fff !important;
}

/* --- CUSTOM: this site is single-page; hide the template navbar entirely --- */
.fh5co-nav,
#fh5co-menu-wrap,
.js-fh5co-nav-toggle {
    display: none !important;
}

/* ==========================================================================
   TEMPLATE: Background helpers & cover sections
   ========================================================================== */

/* --- Background helpers (full-width sections with background images) --- */
#fh5co-event,
.fh5co-bg {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
}

.fh5co-bg {
  background-position: center center;
  width: 100%;
  float: left;
  position: relative;
}

/* --- Video block (used by template gallery/video sections) --- */
.fh5co-video {
  height: 450px;
  overflow: hidden;
  border-radius: 7px;
}
.fh5co-video a {
  z-index: 1001;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -45px;
  margin-left: -45px;
  width: 90px;
  height: 90px;
  display: table;
  text-align: center;
  background: #fff;
  box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  border-radius: 50%;
}
.fh5co-video a i {
  display: table-cell;
  vertical-align: middle;
  font-size: 40px;
}
.fh5co-video .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.5s;
}
.fh5co-video:hover .overlay {
  background: rgba(0, 0, 0, 0.7);
}
.fh5co-video:hover a {
  transform: scale(1.2);
}

/* ==========================================================================
   TEMPLATE: Hero / cover layout
   ========================================================================== */

.fh5co-cover {
  height: 900px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
}
.fh5co-cover .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.fh5co-cover > .fh5co-container {
  position: relative;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .fh5co-cover {
    height: 600px;
  }
}

/* Table-based vertical centering (template pattern) */
.fh5co-cover .display-t,
.fh5co-cover .display-tc {
  height: 900px;
  display: table;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .fh5co-cover .display-t,
  .fh5co-cover .display-tc {
    height: 600px;
  }
}

/* Smaller cover variant */
.fh5co-cover.fh5co-cover-sm {
  height: 600px;
}
@media screen and (max-width: 768px) {
  .fh5co-cover.fh5co-cover-sm {
    height: 400px;
  }
}
.fh5co-cover.fh5co-cover-sm .display-t,
.fh5co-cover.fh5co-cover-sm .display-tc {
  height: 600px;
  display: table;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .fh5co-cover.fh5co-cover-sm .display-t,
  .fh5co-cover.fh5co-cover-sm .display-tc {
    height: 400px;
  }
}

/* ==========================================================================
   TEMPLATE: Event section
   ========================================================================== */

#fh5co-event {
  height: 850px;
  float: left;
}

/* Vertical centering inside the event section */
#fh5co-event .display-t,
#fh5co-event .display-tc {
  height: 700px;
  display: table;
  width: 100%;
}

/* White headings on dark background */
#fh5co-event .fh5co-heading h2 {
  color: #fff;
}
#fh5co-event .fh5co-heading span {
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Section overlay */
#fh5co-event .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Mobile: let height grow naturally */
@media screen and (max-width: 768px) {
  #fh5co-event {
    height: inherit;
    padding: 7em 0;
  }
  #fh5co-event .display-t,
  #fh5co-event .display-tc {
    height: inherit;
  }
}

/* Event cards */
#fh5co-event .event-wrap {
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  width: 100%;
  float: left;
  border-radius: 4px;
}
@media screen and (max-width: 768px) {
  #fh5co-event .event-wrap {
    margin-bottom: 10px;
  }
}

#fh5co-event .event-wrap h3 {
  font-size: 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#fh5co-event .event-wrap p,
#fh5co-event .event-wrap span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
}

#fh5co-event .event-wrap i {
  color: #fff;
  font-size: 20px;
}

/* Two-column layout inside event cards */
#fh5co-event .event-wrap .event-col {
  width: 50%;
  float: left;
  margin-bottom: 30px;
}

/* --- Timeline component (wedding day schedule) --- */
/* Two-column alternating timeline with a centred vertical line + circular badge icons */
.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}

/* Vertical centre line */
.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 1px;
  background-color: #d4d4d4;
  left: 50%;
  margin-left: 0px;
}

/* On very small screens the line shifts left (timeline collapses) */
@media screen and (max-width: 480px) {
  .timeline:before {
    margin-left: -64px;
  }
}

.timeline > li {
  margin-bottom: 20px;
  position: relative;
}

/* Clear floats */
.timeline > li:before, .timeline > li:after {
  content: " ";
  display: table;
}
.timeline > li:after {
  clear: both;
}

/* Timeline “card” */
.timeline > li > .timeline-panel {
  width: 40%;
  float: left;
  border: 1px solid #d4d4d4;
  padding: 30px;
  position: relative;
  border-radius: 4px;
}

/* Little “speech bubble” arrow pointing to the centre line */
.timeline > li > .timeline-panel:before {
  position: absolute;
  top: 80px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}
.timeline > li > .timeline-panel:after {
  position: absolute;
  top: 81px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}

/* Mobile: wider panel + arrow moves up */
@media screen and (max-width: 480px) {
  .timeline > li > .timeline-panel {
    width: 75% !important;
  }
  .timeline > li > .timeline-panel:before {
    top: 30px;
  }
  .timeline > li > .timeline-panel:after {
    top: 31px;
  }
}

/* Circular badge in the middle (holds the icon image) */
.timeline > li > .timeline-badge {
  width: 140px;
  height: 140px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 16px;
  left: 50%;
  margin-left: -70px;
  background-color: #6699CC;
  z-index: 100;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.timeline > li > .timeline-badge img {
  max-width: 50%;
  max-height: 50%;
}

/* Badge shrinks on very small screens */
@media screen and (max-width: 480px) {
  .timeline > li > .timeline-badge {
    width: 60px;
    height: 60px;
    margin-left: -20px !important;
  }
}

/* Alternate rows: panel switches to the right */
.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

/* Timeline content helpers */
.timeline-title {
  margin-top: 0;
}

.date {
  display: block;
  margin-bottom: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}

.timeline-body > p + p {
  margin-top: 5px;
}

/* Tablet/mobile layout: line shifts left, panels become full-width (minus badge space) */
@media (max-width: 992px) {
  ul.timeline:before {
    left: 90px;
  }

  ul.timeline > li > .timeline-panel {
    width: calc(100% - 200px);
    width: -moz-calc(100% - 200px);
    width: -webkit-calc(100% - 200px);
  }

  ul.timeline > li > .timeline-badge {
    left: 15px;
    margin-left: 0;
    top: 16px;
  }

  ul.timeline > li > .timeline-panel {
    float: right;
  }

  ul.timeline > li > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }

  ul.timeline > li > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
  }
}

/* --- Gallery grid (fh5co-gallery-list + hover overlay) --- */
/* Masonry-ish flex grid with fixed-height tiles + dark hover overlay */
#fh5co-gallery-list {
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  position: relative;
  float: left;
  padding: 0;
  margin: 0;
  width: 100%;
}

#fh5co-gallery-list li {
  display: block;
  padding: 0;
  margin: 0 0 10px 1%;
  list-style: none;
  min-height: 400px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  float: left;
  clear: left;
  position: relative;
  border-radius: 7px;
}

@media screen and (max-width: 480px) {
  #fh5co-gallery-list li {
    margin-left: 0;
  }
}

#fh5co-gallery-list li a {
  min-height: 400px;
  padding: 2em;
  position: relative;
  width: 100%;
  display: block;
}

/* Dark overlay on hover */
#fh5co-gallery-list li a:before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  z-index: 80;
  transition: 0.5s;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.2);
}
#fh5co-gallery-list li a:hover:before {
  background: rgba(0, 0, 0, 0.5);
}

/* Caption pinned near the bottom */
#fh5co-gallery-list li a .case-studies-summary {
  width: auto;
  bottom: 2em;
  left: 2em;
  right: 2em;
  position: absolute;
  z-index: 100;
}
@media screen and (max-width: 768px) {
  #fh5co-gallery-list li a .case-studies-summary {
    bottom: 1em;
    left: 1em;
    right: 1em;
  }
}
#fh5co-gallery-list li a .case-studies-summary span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
#fh5co-gallery-list li a .case-studies-summary h2 {
  color: #fff;
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  #fh5co-gallery-list li a .case-studies-summary h2 {
    font-size: 20px;
  }
}

/* Tile widths (desktop/tablet/mobile) */
#fh5co-gallery-list li.one-third {
  width: 32.3%;
}
@media screen and (max-width: 768px) {
  #fh5co-gallery-list li.one-third {
    width: 49%;
  }
}
@media screen and (max-width: 480px) {
  #fh5co-gallery-list li.one-third {
    width: 100%;
  }
}

/* --- Map block (template; used if embedding Google Map) --- */
#map {
  width: 100%;
  height: 500px;
  position: relative;
}
@media screen and (max-width: 768px) {
  #map {
    height: 200px;
  }
}

/* --- Footer icons + contact list (template) --- */
.fh5co-social-icons {
  margin: 0;
  padding: 0;
}
.fh5co-social-icons li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.fh5co-social-icons li a {
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
  color: #0070BB;
  padding-left: 10px;
  padding-right: 10px;
}
.fh5co-social-icons li a i {
  font-size: 20px;
}

.fh5co-contact-info ul {
  padding: 0;
  margin: 0;
}
.fh5co-contact-info ul li {
  padding: 0 0 0 50px;
  margin: 0 0 30px 0;
  list-style: none;
  position: relative;
}
.fh5co-contact-info ul li:before {
  color: #0070BB;
  position: absolute;
  left: 0;
  top: .05em;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fh5co-contact-info ul li.address:before {
  font-size: 30px;
  content: "\e9d1";
}
.fh5co-contact-info ul li.phone:before {
  font-size: 23px;
  content: "\e9f4";
}
.fh5co-contact-info ul li.email:before {
  font-size: 23px;
  content: "\e9da";
}
.fh5co-contact-info ul li.url:before {
  font-size: 23px;
  content: "\e9af";
}

form label {
  font-weight: normal !important;
}

/* --- Vertical centring helpers used by header/cover blocks --- */
#fh5co-header .display-tc,
.fh5co-cover .display-tc {
  display: table-cell !important;
  vertical-align: middle;
}
#fh5co-header .display-tc h1, #fh5co-header .display-tc h2,
.fh5co-cover .display-tc h1,
.fh5co-cover .display-tc h2 {
  margin: 0;
  padding: 0;
  color: white;
}
#fh5co-header .display-tc h1,
.fh5co-cover .display-tc h1 {
  margin-bottom: 0px;
  font-size: 100px;
  line-height: 1.5;
  font-family: "Montserrat", Arial, serif;
}
@media screen and (min-width: 769px) and (max-width: 1199px) {
  #fh5co-header .display-tc h1,
  .fh5co-cover .display-tc h1 {
    font-size: 72px;
  }
}
@media screen and (max-width: 768px) {
  #fh5co-header .display-tc h1,
  .fh5co-cover .display-tc h1 {
    font-size: 40px;
  }
}
@media screen and (max-width: 480px) {
  #fh5co-header .display-tc h1,
  .fh5co-cover .display-tc h1 {
    font-size: 30px;
  }
}
#fh5co-header .display-tc h2,
.fh5co-cover .display-tc h2 {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
}
@media screen and (max-width: 480px) {
  #fh5co-header .display-tc h2,
  .fh5co-cover .display-tc h2 {
    font-size: 16px;
  }
}
#fh5co-header .display-tc .btn,
.fh5co-cover .display-tc .btn {
  padding: 15px 20px;
  background: #fff !important;
  color: #0070BB;
  border: none !important;
  font-size: 14px;
  text-transform: uppercase;
}
#fh5co-header .display-tc .btn:hover,
.fh5co-cover .display-tc .btn:hover {
  background: #fff !important;
  -webkit-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75) !important;
  -moz-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75) !important;
  box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75) !important;
}

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

/* Complete days elapsed since the wedding */
.days-since {
  margin: 0 0 2em;
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
}
.days-since strong {
  color: inherit;
  font-size: 1.25em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Gentle pulse retained for the decorative heart below */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@media screen and (max-width: 480px) {
  .days-since { font-size: 18px; }
}


/* ==========================================================================
   TEMPLATE — Section spacing utilities
   ========================================================================== */

/* Default vertical padding for main sections */
#fh5co-testimonial,
#fh5co-services,
#fh5co-started,
#fh5co-footer,
#fh5co-event,
#fh5co-couple-story,
#fh5co-couple,
#fh5co-gallery,
.fh5co-section {
  padding: 7em 0;
  clear: both;
}

/* Mobile: tighter vertical padding */
@media screen and (max-width: 768px) {
  #fh5co-testimonial,
  #fh5co-services,
  #fh5co-started,
  #fh5co-footer,
  #fh5co-event,
  #fh5co-couple-story,
  #fh5co-couple,
  #fh5co-gallery,
  .fh5co-section {
    padding: 3em 0;
  }
}

/* Light grey background variant used by some sections */
.fh5co-section-gray {
  background: rgba(0, 0, 0, 0.04);
}


/* ==========================================================================
   TEMPLATE — Couple section layout (two columns + centre heart)
   ========================================================================== */

.couple-wrap {
  width: 90%;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 768px) {
  .couple-wrap {
    width: 100%;
  }
}

/* Decorative centre heart (hidden on mobile) */
.heart {
  position: absolute;
  top: 4em;
  left: 0;
  right: 0;
  z-index: 99;

  /* Keeps the original gentle pulse animation */
  animation: pulse 1s ease infinite;
}
.heart i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 20px;
  line-height: 1;
  background: #fff;
  padding: 0;
  color: #0070BB;
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .heart {
    display: none;
  }
}

/* Left/right halves (bride/groom blocks) */
.couple-half {
  width: 50%;
  float: left;
}
@media screen and (max-width: 768px) {
  .couple-half {
    width: 100%;
  }
}

/* Names */
.couple-half h3 {
  font-family: "Montserrat", Arial, serif;
  color: #0070BB;
  font-size: 30px;
}

/* =========================================
   FOTOS DE MIRIAM Y ALBERTO
   ========================================= */

.couple-half .groom,
.couple-half .bride {
  float: left;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  overflow: hidden;
}

.couple-half .groom img,
.couple-half .bride img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
}


/* =========================================
   MÓVIL
   ========================================= */

@media screen and (max-width: 480px) {

  .couple-half .groom,
  .couple-half .bride {
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }

  .couple-half .groom img,
  .couple-half .bride img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

}


/* Mirror layout: groom image right, bride image left */
.couple-half .groom {
  float: right;
  margin-right: 5px;
}
.couple-half .bride {
  float: left;
  margin-left: 5px;
}

/* Text blocks padded to make space for portraits */
.couple-half .desc-groom {
  padding-right: 180px;
  text-align: right;
}
.couple-half .desc-bride {
  padding-left: 180px;
  text-align: left;
}

/* Mobile: remove portrait padding and centre text */
@media screen and (max-width: 480px) {
  .couple-half .groom,
  .couple-half .bride {
    margin-left: 0;
    margin-right: 0;
  }
  .couple-half .desc-groom {
    padding-right: 0;
    text-align: center;
  }
  .couple-half .desc-bride {
    padding-left: 0;
    text-align: center;
  }
}

/* ==========================================================================
   TEMPLATE — “Feature” blocks (centered + left icon variants)
   ========================================================================== */

/* Centered feature block (icon in a circle above text) */
.feature-center {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  float: left;
  width: 100%;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .feature-center {
    margin-bottom: 50px;
  }
}

/* Icon circle */
.feature-center .icon {
  width: 90px;
  height: 90px;
  background: #efefef;
  display: table;            /* table-cell trick for vertical centring */
  text-align: center;
  margin: 0 auto 30px auto;
  border-radius: 50%;
}

/* Icon glyph */
.feature-center .icon i {
  display: table-cell;
  vertical-align: middle;
  height: 90px;
  font-size: 40px;
  line-height: 40px;
  color: #0070BB;
}

/* Spacing under heading and paragraph */
.feature-center p,
.feature-center h3 {
  margin-bottom: 30px;
}

/* Feature title style */
.feature-center h3 {
  text-transform: uppercase;
  font-size: 18px;
  color: #5d5d5d;
}


/* ==========================================================================
   TEMPLATE — Section headings (fh5co-heading)
   ========================================================================== */

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

/* Smaller heading variant used in some sections */
.fh5co-heading.fh5co-heading-sm {
  margin-bottom: 2em;
}

/* Main section title (script font) */
.fh5co-heading h2 {
  font-size: 60px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: bold;
  color: #0070BB;
  font-family: "Montserrat", Arial, serif;
}

/* Secondary title */
.fh5co-heading h3 {
  font-family: "Montserrat", Arial, serif;
  color: #0070BB;
  font-weight: bold;
}

/* Mobile: reduce the big title size */
@media screen and (max-width: 768px) {
  .fh5co-heading h2 {
    font-size: 40px;
  }
}

/* Description paragraph under headings */
.fh5co-heading p {
  font-size: 18px;
  line-height: 1.5;
  color: #828282;
}

/* Optional small “eyebrow” label above headings */
.fh5co-heading span {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.4);
}


/* ==========================================================================
   TEMPLATE — Testimonials slider (not used if testimonial section removed)
   ========================================================================== */

#fh5co-testimonial .wrap-testimony {
  position: relative;
}

#fh5co-testimonial .wrap-testimony .testimony-slide {
  text-align: center;
}

#fh5co-testimonial .wrap-testimony .testimony-slide span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
}

#fh5co-testimonial .wrap-testimony .testimony-slide span a.twitter {
  color: #0070BB;
  font-weight: 300;
}

/* Round avatar */
#fh5co-testimonial .wrap-testimony .testimony-slide figure {
  margin-bottom: 10px;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  width: 100px;
  height: 100px;
}
#fh5co-testimonial .wrap-testimony .testimony-slide figure img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

/* Quote box */
#fh5co-testimonial .wrap-testimony .testimony-slide blockquote {
  border: none;
  margin: 30px auto;
  width: 50%;
  position: relative;
  border-radius: 4px;
}
@media screen and (max-width: 992px) {
  #fh5co-testimonial .wrap-testimony .testimony-slide blockquote {
    width: 100%;
  }
}
#fh5co-testimonial .wrap-testimony .testimony-slide blockquote p {
  font-style: italic;
  color: #8f989f;
  font-size: 20px;
  line-height: 1.6em;
}

/* Active slide */
#fh5co-testimonial .wrap-testimony .testimony-slide.active {
  display: block;
}

/* Prev/Next arrows */
#fh5co-testimonial .wrap-testimony .arrow-thumb {
  position: absolute;
  top: 40%;
  display: block;
  width: 100%;
}
#fh5co-testimonial .wrap-testimony .arrow-thumb a {
  font-size: 32px;
  color: #dadada;
}
#fh5co-testimonial .wrap-testimony .arrow-thumb a:hover,
#fh5co-testimonial .wrap-testimony .arrow-thumb a:focus,
#fh5co-testimonial .wrap-testimony .arrow-thumb a:active {
  text-decoration: none;
}


/* ==========================================================================
   TEMPLATE — “Feature left” blocks (icon on the left, text on the right)
   ========================================================================== */

.feature-left {
  float: left;
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}
.feature-left:last-child {
  margin-bottom: 0;
}

/* Small icon circle with shadow */
.feature-left .icon {
  float: left;
  margin-right: 5%;
  width: 54px;
  height: 54px;
  background: #fff;
  display: table;
  text-align: center;
  box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .feature-left .icon {
    margin-right: 5%;
  }
}

/* Icon glyph */
.feature-left .icon i {
  display: table-cell;
  vertical-align: middle;
  font-size: 30px;
  color: #0070BB;
}

/* Text column */
.feature-left .feature-copy {
  float: left;
  width: 80%;
}
@media screen and (max-width: 768px) {
  .feature-left .feature-copy {
    width: 70%;
    float: left;
  }
}

/* Feature title */
.feature-left .feature-copy h3 {
  text-transform: uppercase;
  font-size: 18px;
  color: #5d5d5d;
  margin-bottom: 10px;
}

/* ==========================================================================
   TEMPLATE — “Started” section (CTA block with overlay + form styling)
   ========================================================================== */

#fh5co-started {
  position: relative;
}

/* Dark overlay over the background image */
#fh5co-started .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* White heading text on dark background */
#fh5co-started .fh5co-heading h2 { color: #fff; }
#fh5co-started .fh5co-heading p  { color: rgba(255, 255, 255, 0.5); }

/* Input styles inside the CTA section (transparent, white text) */
#fh5co-started .form-control {
  background: rgba(255, 255, 255, 0.2);
  border: none !important;
  color: #fff;
  font-size: 16px !important;
  width: 100%;
  transition: 0.5s;
}

/* Placeholder colours across browsers */
#fh5co-started .form-control::-webkit-input-placeholder { color: #fff; }
#fh5co-started .form-control:-moz-placeholder          { color: #fff; }
#fh5co-started .form-control::-moz-placeholder         { color: #fff; }
#fh5co-started .form-control:-ms-input-placeholder     { color: #fff; }

/* Slightly brighter background on focus */
#fh5co-started .form-control:focus {
  background: rgba(255, 255, 255, 0.3);
}

/* Template CTA button */
#fh5co-started .btn {
  height: 54px;
  border: none !important;
  background: #0070BB;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  padding-left: 50px;
  padding-right: 50px;
}

/* Template form layout helpers */
#fh5co-started .form-inline .form-group {
  width: 100% !important;
  margin-bottom: 10px;
}
#fh5co-started .form-inline .form-group .form-control {
  width: 100%;
}

/* Tighten spacing under the heading block */
#fh5co-started .fh5co-heading {
  margin-bottom: 30px;
}
#fh5co-started .fh5co-heading h2 {
  margin-bottom: 0;
}


/* ==========================================================================
   TEMPLATE — Footer small responsiveness helper
   ========================================================================== */

@media screen and (max-width: 768px) {
  #fh5co-footer .copyright .pull-left,
  #fh5co-footer .copyright .pull-right {
    float: none !important;
    text-align: center;
  }
}
#fh5co-footer .copyright .block {
  display: block;
}


/* ==========================================================================
   TEMPLATE — Offcanvas menu (mobile slide-in menu)
   NOTE: If you disabled the navbar/burger menu, this may no longer be used,
   but it’s safe to keep if main.js still references it.
   ========================================================================== */

#fh5co-offcanvas {
  position: absolute;
  z-index: 1901;
  width: 270px;
  background: black;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 45px 40px 40px 40px;
  overflow-y: auto;

  transform: translateX(270px);
  transition: 0.5s;
}

/* When body has .offcanvas, the menu slides into view */
.offcanvas #fh5co-offcanvas {
  transform: translateX(0px);
}

/* Menu link colours */
#fh5co-offcanvas a { color: rgba(255, 255, 255, 0.5); }
#fh5co-offcanvas a:hover { color: rgba(255, 255, 255, 0.8); }

/* Reset list styles */
#fh5co-offcanvas ul { padding: 0; margin: 0; }
#fh5co-offcanvas ul li { padding: 0; margin: 0; list-style: none; }
#fh5co-offcanvas ul li > ul { padding-left: 20px; display: none; }

/* Dropdown indicator arrow */
#fh5co-offcanvas ul li.offcanvas-has-dropdown > a {
  display: block;
  position: relative;
}
#fh5co-offcanvas ul li.offcanvas-has-dropdown > a:after {
  position: absolute;
  right: 0px;
  font-family: 'icomoon';
  content: "\e921";
  font-size: 20px;
  color: rgba(255, 255, 255, 0.2);
  transition: 0.5s;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Rotate indicator when dropdown is open */
#fh5co-offcanvas ul li.offcanvas-has-dropdown.active a:after {
  transform: rotate(-180deg);
}


/* ==========================================================================
   TEMPLATE — Utility classes and “back to top” button
   ========================================================================== */

.uppercase {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

/* “Go to top” floating button (shown when scrolling) */
.gototop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;

  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}
.gototop.active {
  opacity: 1;
  visibility: visible;
}

.gototop a {
  width: 50px;
  height: 50px;
  display: table;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  border-radius: 4px;
}
.gototop a i {
  height: 50px;
  display: table-cell;
  vertical-align: middle;
}
.gototop a:hover,
.gototop a:active,
.gototop a:focus {
  text-decoration: none;
  outline: none;
}

/* ==========================================================================
   TEMPLATE — Mobile navigation toggle (hamburger icon)
   ========================================================================== */

/* Base clickable area */
.fh5co-nav-toggle {
  width: 25px;
  height: 25px;
  cursor: pointer;
  text-decoration: none;
}

/* Active state (icon lines slightly darker) */
.fh5co-nav-toggle.active i::before,
.fh5co-nav-toggle.active i::after {
  background: #444;
}

/* Remove focus / active outlines */
.fh5co-nav-toggle:hover,
.fh5co-nav-toggle:focus,
.fh5co-nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}

/* Central bar of the hamburger icon */
.fh5co-nav-toggle i {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 2px;
  color: #252525;
  font: bold 14px/.4 Helvetica;
  text-transform: uppercase;
  text-indent: -55px; /* hides any text content */
  background: #252525;
  transition: all .2s ease-out;
}

/* Top and bottom bars */
.fh5co-nav-toggle i::before,
.fh5co-nav-toggle i::after {
  content: '';
  width: 25px;
  height: 2px;
  background: #252525;
  position: absolute;
  left: 0;
  transition: all .2s ease-out;
}

/* White variant (used over dark backgrounds in the template) */
.fh5co-nav-toggle.fh5co-nav-white > i {
  color: #fff;
  background: #fff;
}
.fh5co-nav-toggle.fh5co-nav-white > i::before,
.fh5co-nav-toggle.fh5co-nav-white > i::after {
  background: #fff;
}

/* Positioning of top and bottom bars */
.fh5co-nav-toggle i::before {
  top: -7px;
}
.fh5co-nav-toggle i::after {
  bottom: -7px;
}

/* Hover animation (bars move further apart) */
.fh5co-nav-toggle:hover i::before {
  top: -10px;
}
.fh5co-nav-toggle:hover i::after {
  bottom: -10px;
}

/* Active state: turn hamburger into an “X” */
.fh5co-nav-toggle.active i {
  background: transparent;
}
.fh5co-nav-toggle.active i::before {
  top: 0;
  transform: rotateZ(45deg);
}
.fh5co-nav-toggle.active i::after {
  bottom: 0;
  transform: rotateZ(-45deg);
}

/* Absolute positioning in the header (mobile only) */
.fh5co-nav-toggle {
  position: absolute;
  right: 0;
  top: 10px;
  padding: 6px 0 0 0;
  height: 44px;
  width: 44px;
  z-index: 2001;
  display: none; /* hidden on desktop */
  border-bottom: none !important;
}

/* Show toggle on small screens */
@media screen and (max-width: 768px) {
  .fh5co-nav-toggle {
    display: block;
  }
}

/* ==========================================================================
   TEMPLATE — Buttons (base styles + colour variants)
   ========================================================================== */

/* Base button */
.btn {
  margin-right: 4px;
  margin-bottom: 4px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  border-radius: 30px;
  transition: 0.5s;
  padding: 8px 20px;
}

/* Size modifiers */
.btn.btn-md {
  padding: 8px 20px !important;
}
.btn.btn-lg {
  padding: 18px 36px !important;
}

/* Remove focus / active artefacts */
.btn:hover,
.btn:active,
.btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* --- Primary button (main accent colour) --- */
.btn-primary {
  background: #0070BB;
  color: #fff;
  border: 2px solid #0070BB;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: #f366a3 !important;
  border-color: #f366a3 !important;
}
.btn-primary.btn-outline {
  background: transparent;
  color: #0070BB;
  border: 2px solid #0070BB;
}
.btn-primary.btn-outline:hover {
  background: #0070BB;
  color: #fff;
}

/* --- Success button --- */
.btn-success {
  background: #5cb85c;
  color: #fff;
  border: 2px solid #5cb85c;
}
.btn-success:hover {
  background: #4cae4c !important;
  border-color: #4cae4c !important;
}
.btn-success.btn-outline {
  background: transparent;
  color: #5cb85c;
  border: 2px solid #5cb85c;
}
.btn-success.btn-outline:hover {
  background: #5cb85c;
  color: #fff;
}

/* --- Info button --- */
.btn-info {
  background: #5bc0de;
  color: #fff;
  border: 2px solid #5bc0de;
}
.btn-info:hover {
  background: #46b8da !important;
  border-color: #46b8da !important;
}
.btn-info.btn-outline {
  background: transparent;
  color: #5bc0de;
  border: 2px solid #5bc0de;
}
.btn-info.btn-outline:hover {
  background: #5bc0de;
  color: #fff;
}

/* --- Warning button --- */
.btn-warning {
  background: #f0ad4e;
  color: #fff;
  border: 2px solid #f0ad4e;
}
.btn-warning:hover {
  background: #eea236 !important;
  border-color: #eea236 !important;
}
.btn-warning.btn-outline {
  background: transparent;
  color: #f0ad4e;
  border: 2px solid #f0ad4e;
}
.btn-warning.btn-outline:hover {
  background: #f0ad4e;
  color: #fff;
}

/* --- Danger button --- */
.btn-danger {
  background: #d9534f;
  color: #fff;
  border: 2px solid #d9534f;
}
.btn-danger:hover {
  background: #d43f3a !important;
  border-color: #d43f3a !important;
}
.btn-danger.btn-outline {
  background: transparent;
  color: #d9534f;
  border: 2px solid #d9534f;
}
.btn-danger.btn-outline:hover {
  background: #d9534f;
  color: #fff;
}

/* --- Generic outline button --- */
.btn-outline {
  background: none;
  border: 2px solid gray;
  font-size: 16px;
  transition: 0.3s;
}
.btn-outline:hover {
  box-shadow: none;
}

/* --- Button with animated arrow (template feature) --- */
.btn.with-arrow {
  position: relative;
  transition: 0.3s;
}
.btn.with-arrow i {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -8px;
  transition: 0.2s;
}
.btn.with-arrow:hover {
  padding-right: 50px;
}
.btn.with-arrow:hover i {
  right: 18px;
  visibility: visible;
  opacity: 1;
}

/* --- Custom hover enhancements for wedding site --- */
.btn.btn-sm:hover,
.btn.btn-lg:hover,
.btn.btn-block:hover {
  background-color: #f1c40f; /* accent hover colour */
  color: #fff;
  transform: scale(1.05);    /* subtle zoom */
  transition: all 0.3s ease;
  cursor: pointer;
}

/* ==========================================================================
   TEMPLATE — Forms, spacing utilities, loader, and animation helpers
   ========================================================================== */

/* --- Template form fields (Bootstrap-ish look with theme accent on focus) --- */
.form-control {
  box-shadow: none;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.1);
  height: 54px;
  font-size: 18px;
  font-weight: 300;
}
.form-control:active,
.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #0070BB; /* theme accent */
}

/* --- Template spacing utilities (used as section padding helpers) --- */
.row-pb-md {
  padding-bottom: 4em !important;
}
.row-pb-sm {
  padding-bottom: 2em !important;
}

/* --- Template loader overlay (shown while the page initialises) --- */
.fh5co-loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(../images/loader.gif) center no-repeat #fff;
}

/* --- Template animation hook: elements start hidden, fade in via JS/Waypoints --- */
.js .animate-box {
  opacity: 0;
}

/* --- Fullscreen photo/video viewer --- */
body.media-viewer-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.media-viewer[hidden] {
  display: none !important;
}

.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #0b0b0c;
  color: #fff;
  opacity: 0;
  transition: opacity 180ms ease;
}

.media-viewer.is-open {
  opacity: 1;
}

.media-viewer__topbar {
  z-index: 2;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(8px + env(safe-area-inset-top)) 14px 8px;
  background: #0b0b0c;
}

.media-viewer__counter {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.86);
}

.media-viewer__close,
.media-viewer__nav {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.media-viewer__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 38px;
}

.media-viewer__close:hover,
.media-viewer__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.media-viewer__stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  outline: 0;
}

.media-viewer__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 76px;
}

.media-viewer__asset {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 180ms ease, transform 220ms ease;
  will-change: transform;
}

.media-viewer__asset.from-right {
  transform: translate3d(24px, 0, 0) scale(1);
}
.media-viewer__asset.from-left {
  transform: translate3d(-24px, 0, 0) scale(1);
}
.media-viewer__asset.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.media-viewer__asset--image {
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
.media-viewer__asset--image.is-zoom-animating {
  transition: transform 180ms ease, opacity 180ms ease;
}
.media-viewer__asset--video {
  width: min(100%, 1200px);
  background: #000;
}
.media-viewer__stage.is-zoomed {
  cursor: zoom-out;
}

.media-viewer__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 64px;
  margin-top: -32px;
  padding: 0;
  border-radius: 10px;
  font-size: 46px;
  line-height: 1;
}
.media-viewer__nav span {
  display: block;
  line-height: 1;
  transform: translateY(-0.04em);
}
.media-viewer__nav--prev { left: 14px; }
.media-viewer__nav--next { right: 14px; }

.media-viewer__caption {
  z-index: 2;
  min-height: 48px;
  max-height: 18vh;
  overflow: auto;
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
  background: #0b0b0c;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.media-viewer__loading {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid rgba(255, 255, 255, 0.24);
  border-top-color: #fff;
  border-radius: 50%;
  animation: viewer-spin 700ms linear infinite;
}
.media-viewer.is-loading .media-viewer__loading { display: block; }
@keyframes viewer-spin { to { transform: rotate(360deg); } }

@media screen and (max-width: 700px) {
  .media-viewer__media { padding: 0; }
  .media-viewer__nav {
    width: 44px;
    height: 52px;
    margin-top: -26px;
    font-size: 38px;
    background: rgba(0, 0, 0, 0.42);
  }
  .media-viewer__nav--prev { left: 6px; }
  .media-viewer__nav--next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .media-viewer,
  .media-viewer__asset,
  .media-viewer__asset--image.is-zoom-animating {
    transition: none;
  }
  .media-viewer__loading { animation-duration: 1.4s; }
}

/* ==========================================================================
   CUSTOM — Event section layout fixes (2 columns + equal height + embedded map)

   These rules adjust the original template's "event-wrap" cards so that:
   - The two `.event-col` blocks reliably stay side-by-side.
   - The two main event columns (text + map) match height on desktop/tablet.
   - The map iframe scales nicely and remains readable on mobile.
   ========================================================================== */

/* --- Event: Instagram venue link --- */
.event-instagram{
  margin: 18px 0 22px;
  text-align: center;
}

.event-instagram a{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);

  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.event-instagram a i{
  font-size: 18px;
}

@media (hover:hover){
  .event-instagram a:hover{
    transform: translateY(-1px);
    opacity: 0.85;
  }
}

/* --- Fix float clearing inside event-wrap so `.event-col` behaves as 2 columns --- */
#fh5co-event .event-wrap::after {
  content: "";
  display: table;
  clear: both;
}

/* --- Equal height columns for the two main event blocks (desktop/tablet) --- */
@media (min-width: 768px) {

  /* Make the row a flex container so its children stretch equally */
  #fh5co-event .equal-height-row {
    display: flex;
    align-items: stretch; /* both columns match height */
  }

  /* Bootstrap 3 columns are floats: disable floats and use flex instead */
  #fh5co-event .equal-height-row > [class*="col-"] {
    float: none;
    display: flex;
    flex-direction: column; /* allow the card inside to stretch */
  }

  /* Ensure the event "card" fills its column */
  #fh5co-event .equal-height-row .event-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* Map card: let the map area expand to fill remaining height */
  #fh5co-event .event-wrap--map .map-body {
    flex: 1;              /* fills vertical space under the title */
    display: flex;
    align-items: center;  /* vertically centre the iframe */
  }

  /* Map iframe styling (desktop/tablet) */
  #fh5co-event .event-wrap--map .event-map {
    width: 100%;
    height: 100%;
    min-height: 250px;    /* avoids tiny map if the text side is short */
    border: 0;
    border-radius: 10px;
  }
}

/* --- Two-column layout inside each event card (icons + text split) --- */
#fh5co-event .event-cols {
  display: flex;
  margin-bottom: 30px;
}
#fh5co-event .event-col {
  width: 50%;
}

/* Icon alignment inside event columns */
#fh5co-event .event-col i {
  display: block;
  margin-bottom: 10px;
}

/* --- Mobile: map stacks naturally and uses a fixed height --- */
@media (max-width: 767px) {
  #fh5co-event .event-map {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 10px;
  }
}


/* ==========================================================================
   CUSTOM — Info & Gift sections + gift lists

   These are wedding-site additions:
   - Make `#fh5co-info` look like a standard FH5CO grey section.
   - Keep headings consistent with other sections.
   - Create clean, readable two-column gift lists (no "card" styling).
   ========================================================================== */

/* Match heading spacing with other sections */
#fh5co-info .fh5co-heading,
#fh5co-gift .fh5co-heading {
  margin-bottom: 30px; /* same vibe as #fh5co-started */
}

/* Grey section background (same as `.fh5co-section-gray`) */
#fh5co-info {
  background: rgba(0, 0, 0, 0.04);
}

/* Optional h3 styling inside info (romantic font + theme colour) */
#fh5co-info h3 {
  font-family: "Montserrat", Arial, serif;
  font-size: 40px;
  color: #0070BB;
  margin-bottom: 10px;
}

/* Strong labels in the info columns */
#fh5co-info .col-md-4 strong {
  display: block;
  font-weight: 600;
}

/* Avoid extra bottom spacing in the heading blocks */
#fh5co-info p:last-child,
#fh5co-gift p:last-child {
  margin-bottom: 0;
}

/* --- Gift lists layout (two columns) --- */
.gift-lists--inline {
  margin-top: 2.5em;
}

/* Section subtitle (same font as main headings, smaller size) */
.gift-subtitle {
  font-family: "Montserrat", Arial, serif;
  font-size: 34px;
  color: #0070BB;
  margin-bottom: 18px;
}

/* Plain list (no bullets) */
.gift-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Spacing between list items */
.gift-list li {
  margin-bottom: 16px;
}

/* Destination name */
.gift-list li strong {
  display: block;
  color: #000;
  font-size: 16px;
  line-height: 1.3;
}

/* Destination description (italic, lighter) */
.gift-list li span {
  display: block;
  font-style: italic;
  font-size: 15px;
  color: #828282;
  line-height: 1.4;
  margin-top: 2px;
  text-transform: none;
}

/* Extra breathing room around the whole gift block */
.gift-lists--inline {
  margin: 3.5em 0;
  padding-top: 0.5em;
}

/* Mobile: stack the two gift columns */
@media (max-width: 768px) {
  .gift-lists--inline .col-md-6 + .col-md-6 {
    margin-top: 2em;
  }
}

/* ==========================================================================
   CUSTOM — Gift IBAN block + language switcher + info modals + password gate
   ========================================================================== */
/* --- IBAN / bank details block (gift section) --- */

.iban-row{
  margin-top: 3em;
}

/* Column wrapper: centred, padded, looks good inside the grey section */
.iban-col{
  text-align: center;
  padding: 10px 30px;
}

/* Desktop: add a subtle divider between the two IBAN columns */
@media (min-width: 768px){
  .iban-col + .iban-col{
    border-left: 1px solid rgba(0,0,0,.08);
  }
}

/* Bank heading (e.g. "Switzerland / Italy") */
.iban-col h4{
  font-family: "Montserrat", Arial, serif;
  font-size: 20px;
  color: #0070BB;
  margin-bottom: 8px;
}

/* The IBAN itself: monospace + tabular digits for alignment */
.iban-col .iban-text{
  font-family: "SF Mono", "Menlo", "Roboto Mono", monospace;
  font-size: 15px;
  letter-spacing: .04em;
  color: #000;

  /* Fix: iOS/Telegram WebView sometimes applies different colours to parts of text */
  -webkit-text-fill-color: #000;
  text-decoration: none !important;

  font-variant-numeric: tabular-nums;
  word-break: break-word; /* wrap on small screens */
}

/* Small explanatory note under the IBAN (no extra bottom margin) */
.iban-col .iban-note{
  font-size: 14px;
  color: #888;
  margin-bottom: 0;
}


/* --- Language toggle switch (EN/IT) --- */
/* Wrapper is hidden by default; JS adds `.active` when it should appear */
.lang-toggle-wrap{
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.lang-toggle-wrap.active{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hide the real checkbox; the label below is the visible control */
.lang-toggle-input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* The visible switch body */
.lang-toggle-switch{
  position: relative;
  width: 74px;
  height: 34px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 10px;
  cursor: pointer;
  user-select: none;

  transition: background .25s ease, transform .2s ease;
  backdrop-filter: blur(6px);
}

/* Hover micro-zoom (desktop only) */
@media (hover:hover){
  .lang-toggle-switch:hover{
    transform: scale(1.06);
    background: rgba(0,0,0,.5);
  }
}

/* EN / IT labels inside the switch */
.lang-toggle-label{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.75);
  z-index: 2; /* keep text above the knob */
}

/* The moving knob */
.lang-toggle-knob{
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 25px -18px rgba(0,0,0,.7);
  transition: transform .25s ease;
}

/* Checked = English (knob moves right) */
.lang-toggle-input:checked + .lang-toggle-switch .lang-toggle-knob{
  transform: translateX(40px);
}

/* Make the currently active label brighter */
.lang-toggle-input:not(:checked) + .lang-toggle-switch .lang-toggle-label--it{
  color: #fff;
}
.lang-toggle-input:checked + .lang-toggle-switch .lang-toggle-label--en{
  color: #fff;
}

/* Keep a visible focus ring for keyboard users */
.lang-toggle-input:focus + .lang-toggle-switch{
  outline: 2px solid rgba(0,112,187,.35);
  outline-offset: 3px;
}


/* --- Footer sizing tweaks (custom override) --- */
#fh5co-footer{
  padding: 2.2em 0; /* reduced from the template (was 7em) */
}
@media screen and (max-width: 768px){
  #fh5co-footer{
    padding: 1.6em 0; /* reduced mobile padding (was 3em) */
  }
}

/* Reduce extra spacing inside footer */
#fh5co-footer p{
  margin-bottom: 8px;
}
#fh5co-footer .copyright{
  margin-top: 0;
  padding-top: 0;
}
#fh5co-footer .fh5co-social-icons{
  margin-top: 8px;
  margin-bottom: 0;
}

/* --- Info openers (buttons that open the modals) --- */
.info-openers{
  margin-top: 2.5em;
}

.info-opener{
  width: 100%;
  display: flex;
  align-items: center;         /* vertically centre title + icon */
  justify-content: space-between;

  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;

  padding: 16px 18px;
  margin: 12px 0;

  cursor: pointer;
  text-align: left;

  overflow: visible;           /* prevent clipping of font descenders */
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* Title (Montserrat font needs a tiny optical offset to look centred) */
.info-opener__title{
  font-family: "Montserrat", Arial, serif;
  font-size: 34px;
  color: #0070BB;

  line-height: 1.15;
  padding-bottom: 0;

  position: relative;
  top: 0.08em;                 /* optical centring (tweak if needed) */
}

/* Blue info icon at the right */
.info-opener__icon{
  font-size: 18px;
  color: #0070BB;
  flex-shrink: 0;
  margin-left: 14px;
  opacity: 0.9;
  line-height: 1;              /* keep the icon tight */
}

/* Hover lift (desktop only) */
@media (hover:hover){
  .info-opener:hover{
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -26px rgba(0,0,0,.45);
    border-color: rgba(0,112,187,.25);
  }
  .info-opener:hover .info-opener__icon{
    opacity: 1;
  }
}

/* Remove click artefacts (but you still get the custom focus outline elsewhere) */
.info-opener:focus,
.info-opener:active{
  outline: none;
  box-shadow: none;
}

/* Slightly smaller title on very small screens */
@media (max-width: 480px){
  .info-opener__title{
    font-size: 30px;
  }
}


/* --- Modal (overlay + panel) --- */
.fh5co-modal{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none; /* hidden by default; JS toggles `.is-open` */
}
.fh5co-modal.is-open{
  display: block;
}

/* Dark overlay behind the modal */
.fh5co-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

/* Modal panel */
.fh5co-modal__panel{
  position: relative;
  width: min(860px, calc(100% - 32px));
  max-height: calc(100% - 60px);
  overflow: auto;

  margin: 30px auto;
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;

  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  animation: modalIn .18s ease-out;
}

/* Small entrance animation */
@keyframes modalIn{
  from { transform: translateY(10px); opacity: .75; }
  to   { transform: translateY(0);   opacity: 1; }
}

/* Close button (top-right) */
.fh5co-modal__close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* Modal title */
.fh5co-modal__title{
  font-family: "Montserrat", Arial, serif;
  font-size: 44px;
  color: #0070BB;
  text-align: center;
  margin-bottom: 18px;
}

/* Content list inside modal */
.fh5co-modal__list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.fh5co-modal__list li{
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.fh5co-modal__list li:first-child{
  border-top: 0;
  padding-top: 0;
}
.fh5co-modal__list strong{
  display: block;
  text-align: center;
  color: #000;
  margin-bottom: 6px;
}
.fh5co-modal__list p{
  margin: 0 0 8px 0;
  color: #666;
  text-align: center;
}
.fh5co-modal__list a{
  display: inline-block;
  width: 100%;
  text-align: center;
  font-weight: 600;
}

/* Lock body scroll while a modal is open (used by the modal JS) */
body.modal-open{
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* --- Password gate (full-screen overlay shown on first visit per session) --- */

/* Base overlay */
#password-gate{
  position: fixed;
  inset: 0;
  z-index: 3000; /* sits above the rest of the site */

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.96);

  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

/* Visible state (JS adds this) */
#password-gate.is-visible{
  opacity: 1;
  visibility: visible;
}

/* Hiding state (JS adds this for fade-out) */
#password-gate.is-hiding{
  opacity: 0;
  visibility: hidden;
}

/* Dialog box */
.password-box{
  width: min(380px, 90%);
  text-align: center;

  padding: 34px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,.15);

  transform: translateY(8px);
  opacity: .95;
  transition: transform .28s ease, opacity .28s ease;
}

/* Pop-in when visible */
#password-gate.is-visible .password-box{
  transform: translateY(0);
  opacity: 1;
}

.password-box h2{
  font-family: "Montserrat", Arial, serif;
  font-size: 44px;
  color: #0070BB;
  margin: 0 0 10px 0;
}

.password-text{
  margin: 0 0 18px 0;
  color: #666;
}

.pw-line{
  display: block;
  line-height: 1.35;
}

/* Input */
#password-input{
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;

  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.2);
  outline: none;
  margin: 0 0 14px 0;
}
#password-input:focus{
  border-color: rgba(0,112,187,.6);
  box-shadow: 0 0 0 3px rgba(0,112,187,.12);
}

/* Submit button */
#password-submit{
  width: 100%;
  padding: 12px;
  font-size: 16px;

  background: #0070BB;
  color: #fff;

  border: none;
  border-radius: 10px;
  cursor: pointer;
}
#password-submit:hover{
  background: #005fa0;
}

/* Error line (shown by JS only when wrong password) */
.password-error{
  display: none;
  color: #c0392b;
  margin: 12px 0 0 0;
  font-size: 14px;
}

/* Lock scroll while the password overlay is open (used by password JS) */
body.password-locked{
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}


/* =========================================
   CORRECCIÓN DE IMÁGENES
   BODA MIRIAM Y ALBERTO
   ========================================= */

/* Imágenes normales */
img {
    max-width: 100%;
    height: auto;
}

/* Fotografías de galerías */
.fh5co-gallery img,
.gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Imágenes de las secciones */
.fh5co-section img {
    max-width: 100%;
    height: auto;
}

/* Oscurecer fondo del apartado Dónde y cuándo */
#fh5co-event .overlay {
    background: rgba(0, 0, 0, 0.65);
    opacity: 1;
}

.texto-boda {
    text-align: justify !important;
    text-justify: inter-word;
    line-height: 1.8;
}


/* =========================================
   SECCIÓN CONTACTO
   ========================================= */

#fh5co-contacto {
    background: #f3f0eb;
    padding: 100px 0;
}

.contacto-contenido {
    background: #ffffff;
    padding: 55px 35px;
    border-radius: 4px;
    max-width: 750px;
    margin: 0 auto;
}

.contacto-subtitulo {
    display: block;
    font-size: 13px;
    letter-spacing: 3px;
    color: #a18b70;
    margin-bottom: 15px;
}

.contacto-contenido h2 {
    margin-bottom: 25px;
}

.contacto-contenido .texto-boda {
    margin-bottom: 35px;
    text-align: center;
}

.contacto-botones {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contacto-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    min-width: 210px;
    background: #7d927e;
    color: #ffffff !important;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contacto-boton:hover {
    background: #637966;
    color: #ffffff !important;
    text-decoration: none;
}

.contacto-boton i {
    font-size: 20px;
}

@media screen and (max-width: 480px) {
    #fh5co-contacto {
        padding: 65px 15px;
    }

    .contacto-contenido {
        padding: 40px 20px;
    }

    .contacto-botones {
        flex-direction: column;
        align-items: center;
    }

    .contacto-boton {
        width: 100%;
    }
}

/* Forzar centrado del texto en CONTACTO */
#fh5co-contacto .contacto-contenido p.texto-boda {
    text-align: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
