/* Content polish layer — Destinations, Gallery, Team, Testimonials, FAQ, Contact, Footer. Loaded after enhance.css. */

/*--------------------------------------------------------------
# Section titles — the gold rules flank the whole heading block
  (as inline pseudo-elements they used to detach on wrapped lines)
--------------------------------------------------------------*/
.section-title {
  max-width: 860px;
  padding-bottom: 44px;
}

.section-title h2 {
  line-height: 1.2;
  margin-bottom: 14px;
}

/* the rules stay inline so they hug the text on any line count; vertical-align
   centres them on the x-height instead of the template's hand-tuned margin */
.section-title h2::before,
.section-title h2::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 2px;
  background: var(--brand-gold);
  opacity: .95;
}

.section-title h2::before {
  margin: 0 16px 0 0;
}

.section-title h2::after {
  margin: 0 0 0 16px;
}

.section-title p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .section-title {
    padding-bottom: 34px;
  }

  .section-title h2::before,
  .section-title h2::after {
    width: 20px;
  }

  .section-title h2::before {
    margin-right: 12px;
  }

  .section-title h2::after {
    margin-left: 12px;
  }

  .section-title p {
    font-size: 15.5px;
  }
}

@media (max-width: 400px) {

  .section-title h2::before,
  .section-title h2::after {
    width: 14px;
  }
}

/* micro-labels never drop below 12px on touch widths */
@media (max-width: 767px) {

  .destination-flagline,
  .founder-role,
  .info-tag {
    font-size: 12px;
  }

  .destination-flagline,
  .founder-role {
    letter-spacing: 1.2px;
  }

  .info-tag {
    letter-spacing: .6px;
    padding: 3px 9px;
  }
}

/*--------------------------------------------------------------
# Destinations — one editorial card system, uniform image ratios
--------------------------------------------------------------*/
.destination-feature,
.destination-card {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.destination-feature:hover,
.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-navy), transparent 78%);
}

/* every card in the system shares one crop ratio */
.destination-img,
.destination-feature-img {
  aspect-ratio: 16 / 10;
  background: var(--brand-navy-soft);
}

.destination-card:hover .destination-img img,
.destination-feature:hover .destination-feature-img img {
  transform: scale(1.045);
}

/* a solid label plate, no blur — reads crisper against busy photography */
.destination-flagline {
  left: 0;
  bottom: 0;
  border-radius: 0 4px 0 0;
  padding: 8px 16px 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  background: var(--brand-navy-deep);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.destination-body {
  padding: 22px 24px 26px;
}

.destination-body h4 {
  font-size: 17.5px;
  letter-spacing: -.2px;
  line-height: 1.35;
  margin-bottom: 9px;
}

.destination-body p {
  font-size: 14.5px;
  line-height: 1.72;
  margin: 0;
}

/* ---- Ireland feature card ---- */
.destination-feature-body {
  padding: 28px 28px 30px;
}

.destination-feature-body h3 {
  margin-bottom: 6px;
  line-height: 1.22;
}

/* a hairline under the feature headline sets it apart from the six cards */
.destination-feature-body h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--brand-gold);
  margin: 14px 0 4px;
}

.destination-feature-body p {
  font-size: 15px;
  line-height: 1.78;
  margin: 0 0 16px;
}

.destination-feature-secondary {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin: 20px 0 20px;
}

.destination-feature-body .about-btn {
  border-radius: 10px;
  padding: 0 26px;
  height: 48px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .1px;
  margin-top: 8px;
  box-shadow: none;
}

.destination-feature-body .about-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(41, 80, 120, .2);
}

@media (max-width: 575px) {

  .destination-body,
  .destination-feature-body {
    padding: 20px 20px 24px;
  }

  .destination-feature-body .about-btn {
    width: 100%;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Gallery — considered photo grid, restrained hover
--------------------------------------------------------------*/
#professional-gallery {
  padding: 84px 0;
}

/* the wrapper capped the section at 1200px, cropping it out of the page grid */
#professional-gallery .gallery-container {
  max-width: none;
}

/* the grid is not a bootstrap .container, so its measure is mirrored by hand —
   otherwise the gallery sits 90px narrower than every other section at xxl */
#professional-gallery .gallery-grid {
  gap: 16px;
  width: 100%;
  max-width: 100%;
  padding: 0 12px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  #professional-gallery .gallery-grid {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  #professional-gallery .gallery-grid {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  #professional-gallery .gallery-grid {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  #professional-gallery .gallery-grid {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  #professional-gallery .gallery-grid {
    max-width: 1320px;
  }
}

#professional-gallery .gallery-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}

#professional-gallery .gallery-item:hover {
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-navy), transparent 76%);
}

#professional-gallery .gallery-link {
  aspect-ratio: 4 / 3;
  background: var(--brand-navy-soft);
}

#professional-gallery .gallery-item:hover img {
  transform: scale(1.04);
}

#professional-gallery .gallery-zoom {
  background: rgba(27, 54, 84, .42);
  font-size: 0;
}

/* the icon sits in its own outlined plate rather than floating loose */
#professional-gallery .gallery-zoom i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .55);
  font-size: 17px;
  color: #fff;
  transform: translateY(6px);
  transition: transform .35s var(--ease);
}

#professional-gallery .gallery-item:hover .gallery-zoom i {
  transform: translateY(0);
}

@media (max-width: 900px) {
  #professional-gallery {
    padding: 68px 0;
  }

  #professional-gallery .gallery-grid {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  #professional-gallery .gallery-grid {
    gap: 12px;
  }
}

/*--------------------------------------------------------------
# Team — the founders card is the centrepiece
--------------------------------------------------------------*/
.founder-card {
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  border-color: var(--line);
  box-shadow: var(--shadow-lg);
  max-width: 1060px;
}

.founder-photo {
  min-height: 420px;
  background: var(--brand-navy-soft);
}

.founder-photo img {
  object-position: center 22%;
}

.founder-body {
  padding: 44px 48px;
}

.founder-role {
  font-size: 11px;
  letter-spacing: 2.2px;
  padding: 7px 14px;
  margin-bottom: 18px;
}

.founder-body h3 {
  margin-bottom: 18px;
  line-height: 1.2;
}

.founder-body p {
  font-size: 15.5px;
  line-height: 1.85;
  max-width: 62ch;
  margin-bottom: 28px;
}

.founder-links {
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.founder-links a {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 16px;
}

.founder-links a:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  transform: translateY(-2px);
}

@media (max-width: 1199px) {
  .founder-card {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  }

  .founder-body {
    padding: 36px 34px;
  }
}

/* stacked: the photo keeps a real height — it is absolutely positioned,
   so the min-height floor must survive the ratio switch */
@media (max-width: 860px) {
  .founder-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder-photo {
    aspect-ratio: 16 / 11;
    min-height: 300px;
  }

  .founder-photo img {
    object-position: center 18%;
  }

  .founder-body {
    padding: 30px 28px 32px;
  }

  .founder-body p {
    max-width: none;
    font-size: 15px;
    margin-bottom: 24px;
  }
}

@media (max-width: 575px) {
  .founder-photo {
    min-height: 260px;
  }

  .founder-body {
    padding: 26px 20px 28px;
  }

  .founder-body p {
    font-size: 14.5px;
    line-height: 1.8;
  }
}

/*--------------------------------------------------------------
# Testimonials — real social proof, clear attribution hierarchy
  The markup is a flat list (img, h3, h4, .stars, p) so the card is
  laid out as an explicit grid instead of the template's negative-offset avatar.
--------------------------------------------------------------*/
.testimonials .swiper {
  padding-bottom: 2px;
}

.testimonials .swiper-slide {
  height: auto;
}

.testimonials .testimonial-wrap {
  padding-left: 0;
  height: 100%;
}

.testimonials .testimonial-item {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px;
  align-content: start;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 30px 30px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.testimonials .testimonial-item:hover {
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-navy), transparent 80%);
}

.testimonials .testimonial-item .testimonial-img {
  position: static;
  left: auto;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
  object-position: center top;
  box-shadow: none;
  margin: 0;
}

.testimonials .testimonial-item h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.1px;
  line-height: 1.3;
}

.testimonials .testimonial-item h4 {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.testimonials .testimonial-item .stars {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  gap: 3px;
  margin: 20px 0 0;
  line-height: 1;
}

.testimonials .testimonial-item .stars i {
  margin: 0;
  font-size: 12.5px;
  color: var(--brand-gold);
}

.testimonials .testimonial-item p {
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 14px 0 0;
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

/* one opening mark is enough — the trailing one dangled after the last line */
.testimonials .testimonial-item .quote-icon-left {
  left: -2px;
  font-size: 17px;
  color: color-mix(in srgb, var(--brand-navy), transparent 78%);
}

.testimonials .testimonial-item .quote-icon-right {
  display: none;
}

.testimonials .swiper-pagination {
  margin-top: 26px;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 4px;
  background: color-mix(in srgb, var(--brand-navy), transparent 74%);
  opacity: 1;
  transition: width .28s var(--ease), background .28s var(--ease);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  width: 20px;
  background: var(--brand-navy);
}

@media (max-width: 575px) {
  .testimonials .testimonial-item {
    padding: 24px 20px 26px;
    column-gap: 14px;
  }

  .testimonials .testimonial-item p {
    font-size: 14.5px;
  }
}

/*--------------------------------------------------------------
# FAQ — precise rows, decisive toggle
  Contract preserved: .open on .faq-answer, .active on .faq-card,
  0fr → 1fr grid-template-rows transition.
--------------------------------------------------------------*/
.faq-list {
  max-width: 860px;
}

.faq-card {
  margin-bottom: 10px;
  border-radius: 4px;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.faq-card:last-child {
  margin-bottom: 0;
}

.faq-card:hover {
  border-color: color-mix(in srgb, var(--brand-navy), transparent 80%);
}

.faq-card.active {
  box-shadow: var(--shadow-md);
}

.faq-question {
  gap: 20px;
  min-height: 64px;
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.1px;
  line-height: 1.45;
}

/* inset rule instead of a border: no 1px reflow when the row opens */
.faq-card.active .faq-question {
  box-shadow: inset 0 -1px 0 var(--line);
}

.faq-toggle-icon {
  width: 30px;
  height: 30px;
  font-size: 13px;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.faq-card.active .faq-toggle-icon {
  transform: rotate(135deg);
}

.faq-answer > p {
  padding: 0 22px;
  font-size: 15.5px;
  line-height: 1.8;
  max-width: 68ch;
}

.faq-answer.open > p {
  padding: 18px 22px 22px;
}

@media (max-width: 575px) {
  .faq-question {
    gap: 14px;
    padding: 16px 16px;
    font-size: 15.5px;
  }

  .faq-answer > p {
    padding: 0 16px;
    font-size: 14.8px;
  }

  .faq-answer.open > p {
    padding: 16px 16px 20px;
  }
}

/*--------------------------------------------------------------
# Contact — aligned icon column, tidy tag rows, confident fields
--------------------------------------------------------------*/
.contact-info-panel {
  padding: 6px 28px 10px;
  display: flex;
  flex-direction: column;
}

.contact .info-item {
  align-items: flex-start;
  gap: 18px;
  padding: 26px 0;
}

.contact .info-item > div {
  min-width: 0;
  flex: 1;
}

.contact .info-item i {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 19px;
  margin-top: 1px;
}

.contact .info-item h3 {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.1px;
  margin-bottom: 10px;
}

.contact .info-item p {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 6px;
}

.contact .info-item p:last-child {
  margin-bottom: 0;
}

.contact .info-item p a {
  transition: color .2s var(--ease);
}

/* office addresses read as three labelled lines */
.contact-info-panel .info-item:nth-child(1) p a {
  display: block;
  padding: 5px 0;
}

.contact-info-panel .info-item:nth-child(1) p a strong {
  font-weight: 700;
}

/* phone rows: fixed number column so every country tag lines up */
.contact-info-panel .info-item:nth-child(2) p {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-bottom: 0;
}

.contact-info-panel .info-item:nth-child(2) p a {
  flex: 0 0 auto;
  min-width: 136px;
  font-variant-numeric: tabular-nums;
}

.info-tag {
  border-radius: 3px;
  font-size: 10.5px;
  letter-spacing: .8px;
  padding: 3px 8px;
  margin-left: 0;
}

.contact-info-panel .info-item:nth-child(3) p a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

/* touch widths: every link in the panel clears a 40px target */
@media (max-width: 991px) {

  .contact-info-panel .info-item:nth-child(1) p a,
  .contact-info-panel .info-item:nth-child(2) p a,
  .contact-info-panel .info-item:nth-child(3) p a {
    min-height: 40px;
  }

  .contact-info-panel .info-item:nth-child(2) p a {
    display: inline-flex;
    align-items: center;
  }
}

/* ---- form ---- */
.contact .php-email-form {
  padding: 32px;
}

.contact .php-email-form .form-control {
  border-radius: 6px;
  padding: 14px 16px;
  min-height: 50px;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

.contact .php-email-form .form-control::placeholder {
  color: color-mix(in srgb, var(--ink-muted), transparent 30%);
}

.contact .php-email-form .form-control:hover {
  border-color: color-mix(in srgb, var(--brand-navy), transparent 70%);
}

.contact .php-email-form textarea.form-control {
  min-height: 168px;
  resize: vertical;
}

.contact .php-email-form button[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 38px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1px;
  box-shadow: none;
}

.contact .php-email-form button[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(41, 80, 120, .22);
}

@media (max-width: 991px) {
  .contact-info-panel {
    padding: 4px 22px 8px;
  }

  .contact .php-email-form {
    padding: 26px 22px 28px;
  }
}

@media (max-width: 575px) {
  .contact .info-item {
    gap: 14px;
    padding: 22px 0;
  }

  .contact .info-item i {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    font-size: 17px;
  }

  .contact-info-panel .info-item:nth-child(2) p a {
    min-width: 138px;
    font-size: 14.5px;
  }

  .contact .php-email-form button[type=submit] {
    width: 100%;
    padding: 0 20px;
  }
}

/* narrowest phones: reclaim gutter width so the number/tag pair stays on one row */
@media (max-width: 400px) {
  .contact-info-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact .info-item {
    gap: 12px;
  }

  .contact-info-panel .info-item:nth-child(2) p {
    flex-wrap: wrap;
    gap: 2px 8px;
  }

  .contact-info-panel .info-item:nth-child(2) p a {
    min-width: 0;
    font-size: 14px;
  }

  .contact-info-panel .info-item:nth-child(2) .info-tag {
    letter-spacing: .4px;
    padding: 3px 7px;
  }
}

/*--------------------------------------------------------------
# Footer — structured columns, calm rhythm
--------------------------------------------------------------*/
.footer {
  padding: 68px 0 24px;
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 44px;
  padding-bottom: 42px;
}

.footer-logo {
  max-width: 150px;
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .72);
  max-width: 38ch;
  margin-bottom: 22px;
}

.footer h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, .78);
}

.footer-links a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14.5px;
  line-height: 1.4;
}

/* the old hover nudged the label sideways — colour alone is calmer */
.footer-links a:hover {
  color: #fff;
  padding-left: 0;
}

.footer-contact p {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-contact i {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1;
  color: var(--brand-gold);
}

.footer .social-links {
  gap: 10px;
}

.footer .social-links a {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 16px;
}

.footer .social-links a:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-navy-deep);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  gap: 10px 24px;
}

.footer-bottom p,
.footer-bottom-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .66);
}

.footer-bottom-links {
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--brand-gold);
}

@media (max-width: 991px) {
  .footer {
    padding: 56px 0 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 32px;
  }

  /* a balanced 2x2 — a full-width brand row left the contact column stranded */
  .footer-brand p {
    max-width: 46ch;
  }

  .footer-links a,
  .footer-contact a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .footer-contact p {
    align-items: center;
  }

  .footer-contact i {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .footer {
    padding: 48px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 32px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
}
