/* FidecoGlobal (replica) — lightweight, static CSS */

:root{
  /* Palette matched to https://fidecoglobal.com (Elementor global colors) */
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#f6f7f8;
  --text:#111111;
  --muted:#7A7A7A; /* global text */
  --line:rgba(17,17,17,.14);
  --brand:#13A89E;   /* global custom (teal) */
  --brand-2:#3F6E5E; /* global primary */
  --shadow: 0 18px 55px rgba(17,17,17,.12);
  --shadow-2: 0 10px 24px rgba(17,17,17,.10);
  --radius:16px;
  --radius-sm:12px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{
  text-size-adjust:100%;
  -webkit-text-size-adjust:100%;
}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button{font:inherit}

/* Better default focus for keyboard users */
:focus-visible{
  outline:3px solid rgba(19,168,158,.35);
  outline-offset:2px;
  border-radius:10px;
}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.pill{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px; border:1px solid var(--line);
  background:rgba(17,17,17,.03);
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(17,17,17,.04);
  color:var(--text);
  font-weight:650;
  letter-spacing:.2px;
  box-shadow: var(--shadow-2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); background:rgba(17,17,17,.06); border-color: rgba(17,17,17,.22)}
.btn:active{transform: translateY(0)}
.btn.primary{
  border:0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#ffffff;
}
.btn.primary:hover{filter:saturate(1.05) brightness(1.02)}
.btn.ghost{
  background:transparent;
  box-shadow:none;
}

/* Header / Nav */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(17,17,17,.08);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:clamp(8px, 1.5vw, 14px);
  height:74px;
  position:relative; /* anchor mobile menu */
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:800; letter-spacing:.4px;
  flex-shrink:0;
  min-width:0;
}
.nav-cluster{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(12px, 2vw, 20px);
  margin-left:auto;
  min-width:0;
  flex:1 1 auto;
}
.brand-logo{
  /* Wide composite logo: scale width-first so it reads clearly without repeating brand text */
  height:auto;
  width:min(560px, 62vw);
  max-height:52px;
  display:block;
  object-fit:contain;
  flex-shrink:0;
}
.brand-logo.is-footer{
  width:min(480px, 78vw);
  max-height:44px;
}
/* Header logo: avoid huge reserved width (was min(560px,62vw)) squeezing nav into wrapped labels */
.site-header .nav .brand-logo{
  width:auto;
  max-width:min(220px, 26vw);
  height:40px;
  max-height:44px;
}
.brand-mark{
  width:36px; height:36px;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(95,209,199,.95), rgba(109,168,255,.95));
  box-shadow: 0 14px 35px rgba(19,168,158,.18);
  display:grid; place-items:center;
  color:#ffffff;
  font-weight:950;
}
.brand-mark{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.brand small{display:block; color:var(--muted); font-weight:650; letter-spacing:0}

.nav-links{
  display:flex;
  align-items:center;
  gap:clamp(8px, 1.2vw, 14px);
  flex-wrap:nowrap;
  flex:0 0 auto;
  min-width:max-content;
  justify-content:flex-end;
}
.nav-links a,
.nav-links button{
  padding:10px 14px;
  border-radius:10px;
  color:var(--muted);
  font-weight:650;
  font-size:14px;
  letter-spacing:0.01em;
  border:0;
  background:transparent;
  cursor:pointer;
  white-space:nowrap;
  flex-shrink:0;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover,
.nav-links button:hover{background:rgba(255,255,255,.06); color:var(--text)}
.nav-links a[aria-current="page"]{color:var(--text); background:rgba(255,255,255,.07)}

.nav-right{display:flex; align-items:center; gap:10px; flex-shrink:0}
.nav-toggle{
  display:none;
  width:42px; height:42px;
  flex-shrink:0;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(17,17,17,.04);
  color:var(--text);
}

.dropdown{position:relative}
.dropdown-panel{
  position:absolute;
  top:46px;
  left:0;
  width:220px;
  background: rgba(255,255,255,.96);
  border:1px solid rgba(17,17,17,.12);
  border-radius:14px;
  box-shadow: var(--shadow);
  padding:8px;
  display:none;
}
.dropdown-panel a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
}
.dropdown-panel a:hover{background:rgba(255,255,255,.06)}
.dropdown[data-open="true"] .dropdown-panel{display:block}

/* Hero */
.hero{
  padding: clamp(28px, 5vw, 56px) 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:stretch;
}
.hero h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height:1.08;
  letter-spacing:-.8px;
}
.hero p{
  margin:0;
  color:var(--muted);
  font-size: clamp(15px, 1.4vw, 16px);
  max-width:58ch;
}
.hero-actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}

.hero-card{
  border:1px solid rgba(17,17,17,.10);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17,17,17,.03), rgba(17,17,17,.015));
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.hero-card .media{
  aspect-ratio: 16/11;
  background: rgba(255,255,255,.04);
  overflow:hidden;
}
.hero-card .media img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.05) contrast(1.02);
  transform: scale(1.02);
}
.hero-card .body{padding:16px}
.hero-card .body strong{display:block; margin-bottom:6px}
.hero-card .body span{color:var(--muted); font-size:14px}

/* Sections / cards */
.section{padding: clamp(22px, 4vw, 34px) 0}
.section h2{margin:0 0 12px; font-size: clamp(20px, 2.4vw, 26px); letter-spacing:-.3px}
.section .sub{margin:0 0 18px; color:var(--muted); max-width:75ch}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  border:1px solid rgba(17,17,17,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-2);
  padding:16px;
  min-height: 0;
}
.card.has-media{padding:0; overflow:hidden}
.card .card-media{
  width:100%;
  aspect-ratio: 16/10;
  background: rgba(17,17,17,.04);
  overflow:hidden;
}
.card .card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
  transition: transform .25s ease;
}
a.card.has-media:hover .card-media img{transform: scale(1.05)}
.card .card-body{padding:16px}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px}
.card .meta{margin-top:14px; display:flex; align-items:center; justify-content:space-between; gap:10px}
.card .tag{font-size:12px; color:var(--muted); border:1px solid var(--line); border-radius:999px; padding:6px 10px; background:rgba(255,255,255,.03)}

.card{transition: transform .15s ease, box-shadow .15s ease}
a.card:hover{transform: translateY(-1px); box-shadow: 0 12px 24px rgba(17,17,17,.12)}

.cta{
  border:1px solid rgba(17,17,17,.10);
  border-radius: var(--radius);
  background:
    radial-gradient(900px 340px at 20% 0%, rgba(19,168,158,.16), transparent 65%),
    radial-gradient(760px 360px at 85% 20%, rgba(63,110,94,.14), transparent 60%),
    rgba(17,17,17,.02);
  box-shadow: var(--shadow);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.cta strong{font-size:16px}
.cta span{display:block; color:var(--muted); font-size:13px; margin-top:4px}

/* FAQ accordion (details/summary — keyboard + screen-reader friendly) */
.faq-list{
  display:grid;
  gap:14px;
  margin-top:4px;
}
.faq-item{
  border:1px solid rgba(17,17,17,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-2);
  overflow:hidden;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary{list-style:none}
.faq-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  cursor:pointer;
  font-size: clamp(16px, 1.5vw, 17px);
  font-weight:700;
  letter-spacing:-.2px;
  color:var(--text);
  user-select:none;
  transition: background .15s ease;
}
.faq-summary:hover{background:rgba(17,17,17,.03)}
.faq-summary::after{
  content:"+";
  flex-shrink:0;
  width:28px;
  height:28px;
  border-radius:8px;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  font-size:18px;
  font-weight:800;
  line-height:1;
  color:var(--muted);
  background:rgba(17,17,17,.04);
}
.faq-item[open] .faq-summary::after{
  content:"−";
  color:var(--text);
  border-color:rgba(17,17,17,.18);
}
.faq-panel{
  padding:0 18px 16px;
  border-top:1px solid rgba(17,17,17,.08);
}
.faq-panel p{
  margin:0;
  padding-top:12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}
.faq-panel a{text-decoration:underline; text-underline-offset:2px}
.faq-panel a:hover{color:var(--text)}

/* Simple responsive image strip */
.image-strip{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  margin-top:16px;
}
.image-strip .shot{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(17,17,17,.10);
  background: rgba(17,17,17,.03);
  box-shadow: var(--shadow-2);
}
.image-strip img{
  width:100%;
  height:100%;
  aspect-ratio: 4/3;
  object-fit:cover;
  display:block;
}

/* Page header */
.page-hero{
  padding: clamp(22px, 4.5vw, 40px) 0 16px;
}
.page-hero h1{margin:12px 0 10px; font-size: clamp(24px, 3.8vw, 36px); line-height:1.12; letter-spacing:-.6px}
.page-hero p{margin:0; color:var(--muted); max-width:80ch}

.two-col{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:18px;
  align-items:start;
}
.prose{
  border:1px solid rgba(17,17,17,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  padding:18px;
  box-shadow: var(--shadow-2);
}
.prose h2{margin:18px 0 8px; font-size:18px}
.prose h2:first-child{margin-top:0}
.prose ul{margin:10px 0 0; padding-left:18px}
.prose li{margin:7px 0; color:var(--muted)}
.aside{
  border:1px solid rgba(17,17,17,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  padding:16px;
  box-shadow: var(--shadow-2);
}
.aside h3{margin:0 0 10px; font-size:14px; color:var(--muted); letter-spacing:.3px; text-transform:uppercase}
.aside a{display:block; padding:10px 10px; border-radius:12px; border:1px solid transparent; color:var(--muted)}
.aside a:hover{background:rgba(255,255,255,.06); border-color: rgba(255,255,255,.10); color:var(--text)}
.aside a[aria-current="page"]{background:rgba(255,255,255,.07); color:var(--text)}

/* Footer */
.site-footer{
  margin-top:42px;
  border-top:1px solid rgba(17,17,17,.10);
  background: rgba(17,17,17,.03);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:18px;
  padding:22px 0;
}
.footer-grid h4{margin:0 0 10px; font-size:13px; color:var(--muted); letter-spacing:.3px; text-transform:uppercase}
.footer-grid a{color:var(--muted); display:block; padding:6px 0}
.footer-grid a:hover{color:var(--text)}
/* Inline mailto/tel in contact blurb — block links break “E: email@…” across lines */
.footer-grid a[href^="mailto:"],
.footer-grid a[href^="tel:"]{
  display:inline;
  padding:0;
  text-decoration:underline;
  text-underline-offset:2px;
}
.footer-note{
  border-top:1px solid rgba(17,17,17,.10);
  padding:14px 0;
  color:var(--muted);
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* Cookie consent */
.cookie-banner{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:120;
}
.cookie-banner__content{
  max-width: min(var(--max), calc(100vw - 32px));
  margin:0 auto;
  border:1px solid rgba(17,17,17,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding:14px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.cookie-banner__text{min-width: min(520px, 100%); flex: 1 1 420px}
.cookie-banner__title{
  font-weight:850;
  letter-spacing:-.2px;
  margin-bottom:4px;
}
.cookie-banner__copy{
  color:var(--muted);
  font-size:13px;
  max-width: 90ch;
}
.cookie-banner__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}
.cookie-banner__actions .btn{
  box-shadow:none;
}
.cookie-link{
  text-decoration:underline;
  text-underline-offset:2px;
}
.cookie-link:hover{color:var(--text)}

.cookie-backdrop{
  position:fixed;
  inset:0;
  background: rgba(17,17,17,.45);
  z-index:150;
}
.cookie-modal{
  position:fixed;
  left:16px;
  right:16px;
  top:50%;
  transform: translateY(-50%);
  margin:0 auto;
  max-width: 680px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow);
  z-index:160;
  overflow:hidden;
}
.cookie-modal__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px 10px;
  border-bottom:1px solid rgba(17,17,17,.08);
}
.cookie-modal__eyebrow{
  font-size:12px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.3px;
  margin-bottom:4px;
}
.cookie-modal__title{
  margin:0;
  font-size:20px;
  letter-spacing:-.3px;
}
.cookie-icon-btn{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(17,17,17,.04);
  cursor:pointer;
  line-height:1;
  font-size:22px;
  display:grid;
  place-items:center;
  color:var(--muted);
}
.cookie-icon-btn:hover{color:var(--text); border-color: rgba(17,17,17,.22)}
.cookie-modal__body{padding:14px 16px}
.cookie-copy{
  margin:0 0 12px;
  color:var(--muted);
  font-size:14px;
}
.cookie-option{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius: 16px;
  border:1px solid rgba(17,17,17,.10);
  background: rgba(17,17,17,.02);
  margin-bottom:10px;
}
.cookie-option__title{font-weight:800}
.cookie-option__desc{color:var(--muted); font-size:13px; margin-top:2px}
.cookie-toggle{
  display:flex;
  gap:10px;
  align-items:center;
  flex-shrink:0;
}
.cookie-toggle input{width:18px; height:18px}
.cookie-toggle label{color:var(--muted); font-size:13px}
.cookie-modal__footer{
  padding:14px 16px 16px;
  border-top:1px solid rgba(17,17,17,.08);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.cookie-modal__footer .btn{box-shadow:none}

@media (max-width: 720px){
  .cookie-banner{left:12px; right:12px; bottom:12px}
  .cookie-banner__content{padding:12px}
  .cookie-banner__actions .btn{flex:1 1 120px}
}

/* Mobile */
/* Nav: collapse earlier to avoid cramped header on small laptops */
@media (max-width: 1120px){
  .nav-links{display:none}
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .nav[data-open="true"] .nav-links{
    display:flex;
    position:absolute;
    top:100%;
    left:0; right:0;
    padding:10px 12px;
    background: rgba(255,255,255,.96);
    border-bottom:1px solid rgba(17,17,17,.10);
    flex-direction:column;
    align-items:stretch;
    gap:4px;
  }
  .nav-links a, .nav-links button{padding:12px 12px}
  .dropdown-panel{position:static; width:auto; margin-top:6px}
  .nav-right .btn{white-space:nowrap}
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
  .two-col{grid-template-columns: 1fr}
  .grid{grid-template-columns: repeat(2, 1fr)}
  .footer-grid{grid-template-columns: 1fr 1fr}
  .image-strip{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 720px){
  .container{padding:0 16px}
  .nav{height:68px}
  .brand-logo{width:min(420px, 86vw); max-height:44px}
  .brand-logo.is-footer{width:min(360px, 92vw); max-height:38px}
  .hero-actions .btn{flex: 1 1 180px}
  .cta{padding:16px}
}
@media (max-width: 640px){
  .grid{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
  .image-strip{grid-template-columns: 1fr}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important}
  .btn, .card{transition:none !important}
  .btn:hover, a.card:hover{transform:none !important}
  .hero-card .media img{transform:none !important}
}

