/* ========================================
   FERAQORIX DIGITAL - MAIN STYLESHEET
   ======================================== */


:root {
  --clr-dark: #0f0f1a;
  --clr-dark-2: #1a1a2e;
  --clr-mid: #2d2d4a;
  --clr-accent: #c8a96e;
  --clr-accent-2: #e8c98a;
  --clr-light: #faf8f4;
  --clr-warm: #f4f1ec;
  --clr-text: #1c1c2e;
  --clr-text-2: #4a4a6a;
  --clr-text-3: #8888aa;
  --clr-white: #ffffff;

  --shadow-sm: 0 1px 3px rgba(15,15,26,0.08), 0 1px 2px rgba(15,15,26,0.06);
  --shadow-md: 0 4px 12px rgba(15,15,26,0.1), 0 2px 6px rgba(15,15,26,0.08);
  --shadow-lg: 0 8px 30px rgba(15,15,26,0.12), 0 4px 12px rgba(15,15,26,0.08);
  --shadow-xl: 0 20px 60px rgba(15,15,26,0.16), 0 8px 24px rgba(15,15,26,0.1);
  --shadow-accent: 0 4px 20px rgba(200,169,110,0.25), 0 2px 8px rgba(200,169,110,0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --hdr-h: 72px;
  --wrap-w: 1200px;
  --sec-pad: clamp(4rem, 8vw, 7rem);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-light);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
ul { list-style: none; }
address { font-style: normal; }


h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--clr-text-2); line-height: 1.75; }


.wrap {
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.sec { padding: var(--sec-pad) 0; }
.txt-center { text-align: center; }


.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--clr-accent);
  color: var(--clr-dark);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--clr-accent);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s;
  box-shadow: var(--shadow-accent);
  white-space: nowrap;
}
.btn-fill:hover {
  background: var(--clr-accent-2);
  border-color: var(--clr-accent-2);
  box-shadow: 0 6px 24px rgba(200,169,110,0.35), 0 2px 8px rgba(200,169,110,0.2);
  transform: translateY(-1px);
}
.btn-fill.btn-lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--clr-text);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(15,15,26,0.2);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(200,169,110,0.06);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--clr-white);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  white-space: nowrap;
}
.btn-ghost-light:hover {
  border-color: var(--clr-white);
  background: rgba(255,255,255,0.1);
}
.btn-ghost-light.btn-lg,
.btn-fill.btn-lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }


.lnk-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr-accent);
  transition: gap 0.25s;
}
.lnk-arrow:hover { gap: 0.85rem; }


.sec-label {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
}
.sec-label-light { color: var(--clr-accent-2); }
.sec-title { margin-bottom: 1.25rem; }
.sec-title-light { color: var(--clr-white); }
.sec-sub { font-size: 1.05rem; color: var(--clr-text-2); max-width: 56ch; }
.sec-hd { margin-bottom: 3.5rem; }
.sec-hd-light .sec-title { color: var(--clr-white); }
.sec-hd-light .sec-sub { color: rgba(255,255,255,0.65); }

/* ========================================
   HEADER
   ======================================== */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--hdr-h);
  background: var(--clr-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.hdr.scrolled {
  box-shadow: 0 4px 20px rgba(15,15,26,0.12), 0 2px 8px rgba(15,15,26,0.08);
}
.hdr-wrap {
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hdr-logo { flex-shrink: 0; display: flex; align-items: center; }
.hdr-logo img { height: 36px; width: auto; }
.hdr-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.hdr-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--clr-text-2);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.hdr-link:hover, .hdr-link.active {
  color: var(--clr-accent);
  background: rgba(200,169,110,0.08);
}
.hdr-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.hdr-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hdr-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ========================================
   MOBILE MENU - SLIDE FROM LEFT
   ======================================== */
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,15,26,0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.mob-overlay.active { display: block; opacity: 1; }

.mob-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 80%;
  max-width: 320px;
  background: var(--clr-dark-2);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}
.mob-menu.active { transform: translateX(0); }

.mob-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--clr-white);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mob-close:hover { background: rgba(255,255,255,0.1); }

.mob-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 2rem;
  flex: 1;
}
.mob-link {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  opacity: 0;
  transform: translateX(-20px);
}
.mob-menu.active .mob-link {
  animation: mobLinkIn 0.35s ease forwards;
  animation-delay: calc(var(--i) * 0.07s + 0.15s);
}
@keyframes mobLinkIn {
  to { opacity: 1; transform: translateX(0); }
}
.mob-link:hover { color: var(--clr-accent); background: rgba(200,169,110,0.1); }

.mob-cta {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1rem;
}
.mob-cta .btn-fill { width: 100%; justify-content: center; }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--hdr-h);
}
.hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, var(--clr-dark) 45%, rgba(15,15,26,0.6) 65%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  width: 100%;
}
.hero-tag {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1.25rem;
  background: rgba(200,169,110,0.12);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(200,169,110,0.25);
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 10ch;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.pg-hero {
  position: relative;
  height: clamp(380px, 55vh, 540px);
  display: flex;
  align-items: flex-end;
  margin-top: var(--hdr-h);
  overflow: hidden;
}
.pg-hero-img { position: absolute; inset: 0; }
.pg-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,26,0.85) 0%, rgba(15,15,26,0.4) 60%, rgba(15,15,26,0.1) 100%);
}
.pg-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pg-hero-content h1 { color: var(--clr-white); margin-bottom: 0.75rem; }
.pg-hero-content p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 52ch; }
.pg-hero-sm { height: clamp(260px, 40vh, 380px); }

.pg-hd-simple {
  background: var(--clr-dark-2);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  margin-top: var(--hdr-h);
}
.pg-hd-simple h1 { color: var(--clr-white); margin-bottom: 0.5rem; }
.pg-hd-simple p { color: rgba(255,255,255,0.6); }

/* ========================================
   WAVE DIVIDERS
   ======================================== */
.wave-divider { line-height: 0; overflow: hidden; background: var(--clr-light); }
.wave-divider svg { display: block; width: 100%; height: 60px; }
.wave-rev { background: var(--clr-light); }

/* ========================================
   INTRO SECTION
   ======================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.intro-txt .sec-label { display: block; }
.intro-txt h2 { margin-bottom: 1.25rem; }
.intro-txt p { margin-bottom: 1rem; }
.intro-txt p:last-of-type { margin-bottom: 1.75rem; }
.intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.intro-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.intro-img:hover img { transform: scale(1.04); }

/* ========================================
   EXPANDABLE CARDS
   ======================================== */
.crd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.crd {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.crd:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.crd-top { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; }
.crd-ico {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(200,169,110,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background 0.25s;
}
.crd:hover .crd-ico { background: rgba(200,169,110,0.2); }
.crd-title { flex: 1; font-size: 1.05rem; font-weight: 700; color: var(--clr-text); }
.crd-toggle {
  color: var(--clr-text-3);
  font-size: 0.9rem;
  transition: transform 0.3s, color 0.25s;
  flex-shrink: 0;
}
.crd.open .crd-toggle { transform: rotate(45deg); color: var(--clr-accent); }
.crd-txt {
  display: none;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(15,15,26,0.06);
}
.crd.open .crd-txt { display: block; }
.crd-txt p { font-size: 0.95rem; margin-bottom: 0.75rem; }
.crd-txt p:last-child { margin-bottom: 0; }

/* ========================================
   FEATURE SECTION
   ======================================== */
.feat-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.feat-imgs { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feat-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-xl);
}
.feat-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.feat-img-main:hover img { transform: scale(1.04); }
.feat-img-side {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/7;
  box-shadow: var(--shadow-lg);
}
.feat-img-side img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.feat-img-side:hover img { transform: scale(1.04); }
.feat-txt .sec-label { display: block; }
.feat-txt h2 { margin-bottom: 1.25rem; }
.feat-txt p { margin-bottom: 1rem; }
.feat-list { margin: 1.75rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--clr-text-2);
}
.feat-list li i { color: var(--clr-accent); margin-top: 0.2rem; flex-shrink: 0; }

/* ========================================
   CAROUSEL / SPLIDE
   ======================================== */
.sec-carousel { padding: var(--sec-pad) 0; }
.sl-crd {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
}
.sl-crd:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.3); transform: translateY(-3px); }
.sl-crd img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s; }
.sl-crd:hover img { transform: scale(1.04); }
.sl-crd-txt { padding: 1.25rem; }
.sl-crd-txt h4 { color: var(--clr-white); margin-bottom: 0.5rem; font-size: 1rem; }
.sl-crd-txt p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.splide__pagination__page { background: rgba(255,255,255,0.3); transition: background 0.25s; }
.splide__pagination__page.is-active
{ background: var(--clr-accent); }
.splide__arrow { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); transition: background 0.25s; }
.splide__arrow:hover { background: rgba(200,169,110,0.3); }
.splide__arrow svg { fill: var(--clr-white); }

/* ========================================
   PROCESS SECTION
   ======================================== */
.proc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.proc-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.proc-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.proc-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(200,169,110,0.2);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3rem;
  transition: color 0.3s;
}
.proc-item:hover .proc-num { color: rgba(200,169,110,0.4); }
.proc-body h3 { font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--clr-text); }
.proc-body p { font-size: 0.93rem; }

/* ========================================
   CTA SECTION
   ======================================== */
.sec-cta { position: relative; padding: var(--sec-pad) 0; overflow: hidden; }
.sec-cta-bg { position: absolute; inset: 0; }
.sec-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.sec-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,26,0.9) 0%, rgba(26,26,46,0.8) 100%);
}
.sec-cta-content { position: relative; z-index: 2; text-align: center; }
.sec-cta-content h2 { color: var(--clr-white); margin-bottom: 1rem; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.sec-cta-content p { color: rgba(255,255,255,0.7); max-width: 52ch; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.sec-cta-simple { padding: var(--sec-pad) 0; }
.sec-cta-simple .sec-title { margin-bottom: 1rem; }
.sec-cta-simple .sec-sub { margin: 0 auto 2.5rem; max-width: 52ch; }

/* ========================================
   FOOTER
   ======================================== */
.ftr { background: var(--clr-dark); color: rgba(255,255,255,0.7); }
.ftr-top { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.ftr-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.ftr-brand .ftr-logo { margin-bottom: 1.25rem; }
.ftr-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 1.25rem; }
.ftr-brand address { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.ftr-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1.25rem;
}
.ftr-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.ftr-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color 0.25s; }
.ftr-col ul li a:hover { color: var(--clr-accent); }
.ftr-post { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.ftr-post:last-child { border-bottom: none; }
.ftr-post-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.35rem;
}
.ftr-post-title { display: block; font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.45; transition: color 0.25s; }
.ftr-post-title:hover { color: var(--clr-white); }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; }
.ftr-legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.ftr-legal p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.ftr-legal a { color: rgba(255,255,255,0.5); transition: color 0.25s; }
.ftr-legal a:hover { color: var(--clr-accent); }

/* ========================================
   PROFILES
   ======================================== */
.prof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.prof-crd {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.prof-crd:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prof-ico {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(200,169,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  transition: background 0.25s;
}
.prof-crd:hover .prof-ico { background: rgba(200,169,110,0.2); }
.prof-crd h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.prof-crd p { font-size: 0.93rem; margin-bottom: 0.75rem; }
.prof-crd p:last-child { margin-bottom: 0; }


.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.nf-txt .sec-label { display: block; }
.nf-txt h2 { margin-bottom: 1.25rem; }
.nf-txt p { margin-bottom: 1rem; }
.nf-txt p:last-child { margin-bottom: 0; }
.nf-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-xl); }
.nf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.nf-img:hover img { transform: scale(1.04); }

/* ========================================
   PERCORSO INDIVIDUALE
   ======================================== */
.pi-intro { max-width: 72ch; margin: 0 auto; text-align: center; }
.pi-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--clr-text); line-height: 1.7; font-weight: 500; }

.phase-list { display: flex; flex-direction: column; gap: 0; padding-top: 3rem; }
.phase-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(15,15,26,0.08);
}
.phase-item:last-child { border-bottom: none; }
.phase-num-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.phase-num { font-family: 'Manrope', sans-serif; font-size: 3rem; font-weight: 800; color: var(--clr-accent); line-height: 1; }
.phase-line { flex: 1; width: 2px; background: rgba(200,169,110,0.2); border-radius: 2px; }
.phase-item:last-child .phase-line { display: none; }
.phase-body h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 1rem; }
.phase-body p { margin-bottom: 1rem; }
.phase-body p:last-of-type { margin-bottom: 1.25rem; }
.phase-details { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.phase-details span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-accent);
  font-family: 'Manrope', sans-serif;
}
.phase-details span i { font-size: 0.85rem; }

.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.inc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--clr-warm);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--clr-accent);
  transition: box-shadow 0.25s, transform 0.25s;
}
.inc-item:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.inc-item i { color: var(--clr-accent); font-size: 1.1rem; flex-shrink: 0; }
.inc-item span { font-size: 0.92rem; font-weight: 600; color: var(--clr-text); font-family: 'Manrope', sans-serif; }

/* ========================================
   COSA CAMBIA
   ======================================== */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cmp-col { border-radius: var(--radius-md); padding: 2.5rem; }
.cmp-before { background: rgba(200,169,110,0.05); border: 1px solid rgba(200,169,110,0.15); }
.cmp-after { background: var(--clr-dark-2); border: 1px solid rgba(200,169,110,0.2); }
.cmp-col h3 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; font-size: 1.15rem; }
.cmp-before h3 { color: var(--clr-text); }
.cmp-after h3 { color: var(--clr-white); }
.cmp-before h3 i { color: #c0392b; }
.cmp-after h3 i { color: #27ae60; }
.cmp-col ul { display: flex; flex-direction: column; gap: 1rem; }
.cmp-col ul li { font-size: 0.93rem; line-height: 1.6; padding-left: 1rem; border-left: 2px solid rgba(200,169,110,0.2); }
.cmp-before ul li { color: var(--clr-text-2); }
.cmp-after ul li { color: rgba(255,255,255,0.7); }

.persp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.persp-ico {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(200,169,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.persp-col h3 { margin-bottom: 1rem; }
.persp-col p { margin-bottom: 1rem; }
.persp-col p:last-child { margin-bottom: 0; }

.prin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.prin-item {
  padding: 2rem;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.prin-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.prin-n {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--clr-accent);
  color: var(--clr-dark);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.prin-item h4 { margin-bottom: 0.75rem; }
.prin-item p { font-size: 0.93rem; }

/* ========================================
   CONTACT PAGE
   ======================================== */
.sec-contact { padding-top: 3rem; }
.ct-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.ct-form-wrap h2, .ct-info h2 { font-size: 1.5rem; margin-bottom: 2rem; }

.frm { display: flex; flex-direction: column; gap: 1.25rem; }
.frm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.frm-grp { display: flex; flex-direction: column; gap: 0.5rem; }
.frm-grp label { font-family: 'Manrope', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--clr-text); }
.frm-grp input,
.frm-grp select,
.frm-grp textarea {
  padding: 0.85rem 1rem;
  border: 2px solid rgba(15,15,26,0.12);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}
.frm-grp input:focus,
.frm-grp select:focus,
.frm-grp textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.15);
}
.frm:has(input:focus),
.frm:has(select:focus),
.frm:has(textarea:focus) { border-color: var(--clr-accent); }
.frm-grp textarea { resize: vertical; min-height: 140px; }
.frm-grp select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a4a6a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.frm-check { flex-direction: row; align-items: flex-start; }
.chk-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--clr-text-2);
  line-height: 1.5;
}
.chk-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--clr-accent);
  cursor: pointer;
  margin-top: 0.15rem;
}
.chk-label a { color: var(--clr-accent); text-decoration: underline; }
.frm-submit { align-self: flex-start; }

.ct-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.ct-detail i {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(200,169,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.ct-detail strong { display: block; font-family: 'Manrope', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--clr-text); margin-bottom: 0.3rem; }
.ct-detail p { font-size: 0.93rem; color: var(--clr-text-2); margin: 0; }
.ct-detail a:hover { color: var(--clr-accent); }
.ct-map { margin-top: 1.5rem; }

.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gal-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-md); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gal-item:hover img { transform: scale(1.06); }

/* ========================================
   THANKS PAGE
   ======================================== */
.thanks-main {
  min-height: calc(100vh - var(--hdr-h) - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sec-pad) 1rem;
}
.thanks-box { text-align: center; max-width: 520px; padding: 3rem 2rem; }
.thanks-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(200,169,110,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: var(--clr-accent);
}
.thanks-box h1 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.thanks-box p { margin-bottom: 1rem; }
.thanks-box p:last-of-type { margin-bottom: 2rem; }

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-main { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal-wrap { max-width: 780px; }
.legal-wrap h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 1rem;
  color: var(--clr-text);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(15,15,26,0.08);
}
.legal-wrap h2:first-of-type { margin-top: 2rem; }
.legal-wrap p { font-size: 0.95rem; color: var(--clr-text-2); margin-bottom: 1rem; line-height: 1.8; }

/* ========================================
   COOKIE BANNER - TOP SLIDE
   ======================================== */
.ck-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--clr-dark-2);
  border-bottom: 1px solid rgba(200,169,110,0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ck-inner {
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ck-txt { font-size: 0.88rem; color: rgba(255,255,255,0.75); flex: 1; min-width: 200px; margin: 0; }
.ck-txt a { color: var(--clr-accent); text-decoration: underline; }
.ck-btns { display: flex; gap: 0.6rem; flex-shrink: 0; flex-wrap: wrap; }
.ck-btn {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  min-height: 36px;
  white-space: nowrap;
}
.ck-btn:hover { transform: translateY(-1px); }
.ck-customize { background: transparent; color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.2); }
.ck-customize:hover { background: rgba(255,255,255,0.08); color: var(--clr-white); }
.ck-reject { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.15); }
.ck-reject:hover { background: rgba(255,255,255,0.15); color: var(--clr-white); }
.ck-accept { background: var(--clr-accent); color: var(--clr-dark); }
.ck-accept:hover { background: var(--clr-accent-2); }


.ck-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,15,26,0.7);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.ck-modal-box {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}
.ck-modal-box h3 { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--clr-text); }
.ck-category { padding: 1rem 0; border-bottom: 1px solid rgba(15,15,26,0.08); }
.ck-category:last-of-type { border-bottom: none; margin-bottom: 0.5rem; }
.ck-category label { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; margin-bottom: 0.4rem; }
.ck-category label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--clr-accent); flex-shrink: 0; }
.ck-category label span { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--clr-text); }
.ck-category p { font-size: 0.85rem; color: var(--clr-text-3); margin: 0; padding-left: 1.85rem; }
.ck-modal-btns { display: flex; gap: 0.75rem; margin-top: 1.5rem; justify-content: flex-end; }
.ck-modal-btns .ck-btn { padding: 0.65rem 1.4rem; font-size: 0.88rem; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hdr-nav { display: none; }
  .hdr-cta { display: none; }
  .hdr-burger { display: flex; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-news { grid-column: span 2; }
  .crd-grid { grid-template-columns: 1fr 1fr; }
  .inc-grid { grid-template-columns: 1fr 1fr; }
  .phase-item { grid-template-columns: 80px 1fr; }
}

@media (max-width: 768px) {
  :root { --hdr-h: 64px; }
  .hero { min-height: 90vh; }
  .hero-title { max-width: 100%; }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(15,15,26,0.75) 0%, rgba(15,15,26,0.55) 100%);
  }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-img { order: -1; }
  .crd-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-imgs { order: -1; }
  .proc-grid { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .ftr-news { grid-column: 1; }
  .prof-grid { grid-template-columns: 1fr; }
  .nf-grid { grid-template-columns: 1fr; }
  .nf-img { order: -1; }
  .cmp-grid { grid-template-columns: 1fr; }
  .persp-grid { grid-template-columns: 1fr; }
  .prin-grid { grid-template-columns: 1fr; }
  .inc-grid { grid-template-columns: 1fr; }
  .phase-item { grid-template-columns: 1fr; }
  .phase-num-wrap { flex-direction: row; align-items: center; }
  .phase-line { width: 100%; height: 2px; flex: 1; }
  .ct-grid { grid-template-columns: 1fr; }
  .frm-row { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid .gal-item:nth-child(3) { grid-column: span 2; }
  .ftr-legal { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .pg-hero { height: clamp(300px, 45vh, 420px); }
  .ck-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .ck-btns { width: 100%; justify-content: flex-start; }
}

@media (max-width: 480px) {
  .gal-grid { grid-template-columns: 1fr; }
  .gal-grid .gal-item:nth-child(3) { grid-column: 1; }
  .hero-actions { gap: 0.75rem; }
  .hero-actions .btn-fill,
  .hero-actions .btn-ghost-light { width: 100%; justify-content: center; }
  .cmp-col { padding: 1.5rem; }
  .proc-item { padding: 1.25rem; }
  .phase-item { padding: 2rem 0; }
  .ck-btns { flex-direction: column; }
  .ck-btn { width: 100%; text-align: center; }
}