/* Ecumenico Solutions - site styles (Bootstrap 5 + custom). Palette taken from the original site. */
:root {
  --brand: #fc653c;
  --brand-dark: #e2512a;
  --ink: #1c1e27;
  --muted: #5d606b;
  --grey: #f5f6f7;
  --dark: #363636;
  --radius: 6px;
  --head: 'Cabin', sans-serif;
  --body: 'Roboto', sans-serif;
  --header-h: 80px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 600; color: var(--ink); line-height: 1.2; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.text-brand { color: var(--brand); }
.skip-link { position: absolute; z-index: 2000; left: 8px; top: 8px; background: #fff; padding: 8px 14px; }

/* Buttons */
.btn-brand {
  --bs-btn-color: #fff; --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--brand-dark); --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-focus-shadow-rgb: 252, 101, 60;
  font-family: var(--head); font-weight: 700; border-radius: 3px; letter-spacing: .2px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(252, 101, 60, .35); }
.btn-outline-light { font-family: var(--head); font-weight: 700; border-radius: 3px; border-width: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1030; background: #fff;
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(0, 0, 0, .1); }
.site-header .navbar { min-height: var(--header-h); padding: 4px 0; }
.navbar-brand img { height: 72px; width: auto; display: block; }
.navbar .nav-link {
  font-family: var(--head); font-weight: 600; font-size: .95rem; letter-spacing: .8px;
  color: var(--ink); padding: .6rem 1.1rem;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--brand); }
.navbar-toggler { border: 0; font-size: 2rem; color: var(--ink); line-height: 1; padding: 0 .4rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(252, 101, 60, .35); }
.dropdown-menu { border: 0; border-top: 3px solid var(--brand); border-radius: 0 0 4px 4px; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); padding: .4rem 0; }
.dropdown-item { font-family: var(--head); font-weight: 500; padding: .55rem 1.2rem; color: var(--ink); white-space: normal; }
.dropdown-item:hover, .dropdown-item.active { background: var(--grey); color: var(--brand); }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; }
  .dropdown-menu { min-width: 320px; margin-top: 0; }
}
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 1.4rem; }
  .dropdown-menu { box-shadow: none; border-top: 0; border-left: 3px solid var(--brand); border-radius: 0; margin-left: 1rem; }
  .navbar .dropdown > .dropdown-menu { display: block; }
  .navbar .dropdown-toggle::after { display: none; }
}

/* Hero (overlays live inside .carousel-item so fade items do not cover the text) */
.hero { position: relative; background: #1a2230; }
.hero .carousel-item {
  height: clamp(520px, 82vh, 780px);
  background-size: cover; background-position: center;
}
.hero .carousel-item::before { content: ''; position: absolute; inset: 0; background: rgba(28, 34, 48, .55); }
.hero .carousel-item.active { animation: kenburns 9s ease-out both; }
.hero__content { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.5rem); font-weight: 700; margin-bottom: 1.6rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); animation: fadeUp .9s .1s both; }
.hero__btn { animation: fadeUp .9s .35s both; }
.hero .btn .bi { margin-left: .35rem; font-size: .9em; }
@keyframes kenburns { from { background-size: 100%; } to { background-size: 108%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: 5rem 0; }
.section-grey { background: var(--grey); }
.eyebrow { display: inline-block; font-family: var(--body); font-weight: 600; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; margin-bottom: 1.2rem; }
.section p { color: #3b3e49; }
.photo-frame { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(28, 30, 39, .18); display: block; }

/* Page banner (inner pages) */
.page-banner {
  position: relative; background-size: cover; background-position: center;
  padding: 4.5rem 0; min-height: 200px;
}
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(33, 36, 44, .72); }
.page-banner__title { position: relative; color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; margin: 0; animation: fadeUp .7s both; }
@media (max-width: 575.98px) { .page-banner { padding: 3.5rem 0; } }

/* Service cards */
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 24px rgba(28, 30, 39, .08); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(28, 30, 39, .16); }
.service-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e9ebee; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.service-card h3 a { color: var(--ink); }
.service-card h3 a:hover { color: var(--brand); }
.service-card p { color: var(--muted); flex: 1; }
.read-more { font-family: var(--head); font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.read-more .bi { transition: transform .2s ease; }
.read-more:hover .bi { transform: translateX(5px); }

/* CTA band */
.cta {
  position: relative; background-size: cover; background-position: center; background-attachment: fixed;
  color: #fff; padding: 6rem 0; text-align: center;
}
.cta::before { content: ''; position: absolute; inset: 0; background: rgba(24, 28, 40, .72); }
.cta .container { z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 820px; margin: 0 auto 1rem; }
.cta p { color: #e8eaee !important; max-width: 760px; margin: 0 auto 1.8rem; }
.cta--slim { padding: 3.5rem 0; background: var(--dark); }
.cta--slim::before { display: none; }
.cta--slim h2 { font-size: 1.8rem; margin-bottom: 1.2rem; }
@media (max-width: 991.98px) { .cta { background-attachment: scroll; } }

/* FAQ */
.faq .accordion-item { border: 0; border-bottom: 1px solid #e3e5e9; background: transparent; }
.faq .accordion-button { font-family: var(--head); font-weight: 600; font-size: 1.08rem; color: var(--ink); background: transparent; padding: 1.15rem .25rem; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--brand); background: transparent; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(252, 101, 60, .25); }
.faq .accordion-body { padding: 0 .25rem 1.3rem; color: #3b3e49; }

/* Badges */
.badges { padding: 3.5rem 0; }
.badges img { height: 120px; width: auto; max-width: 160px; object-fit: contain; filter: saturate(.95); transition: transform .25s ease; }
.badges img:hover { transform: scale(1.08); }

/* Service detail sidebar */
.side-links { background: var(--grey); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.side-links h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.side-links li + li { border-top: 1px solid #e0e2e6; }
.side-links a { display: block; padding: .6rem 0; color: var(--ink); font-family: var(--head); font-weight: 600; }
.side-links a:hover, .side-links a.active { color: var(--brand); }

/* Contact */
.contact-form .form-control { border-radius: 3px; border-color: #d5d8de; padding: .7rem .9rem; }
.contact-form .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(252, 101, 60, .2); }
.contact-form .form-label { font-weight: 500; }
.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-list .bi { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.15rem; }
.contact-list h3 { font-size: 1.2rem; margin: 0 0 .15rem; }
.contact-list p { margin: 0; }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Footer */
.site-footer { background: var(--dark); color: #d6d8dd; font-size: .98rem; }
.site-footer a { color: #d6d8dd; }
.site-footer a:hover { color: var(--brand); }
.footer-title { color: #fff; font-size: 1.35rem; margin-bottom: 1.1rem; position: relative; padding-bottom: .7rem; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; background: var(--brand); }
.footer-links li { margin-bottom: .45rem; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; }
.footer-contact .bi { color: var(--brand); margin-top: .2rem; }
.footer-bottom { background: #2c2c2c; padding: 1rem 0; font-size: .9rem; color: #b9bcc3; }

.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.2rem;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; background: var(--brand-dark); }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (max-width: 575.98px) {
  .section { padding: 3.5rem 0; }
  .navbar-brand img { height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
