@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --ink: #1b1b1b;
  --muted: #5f6268;
  --paper: #faf9f6;
  --white: #fff;
  --red: #a90f2b;
  --red-dark: #770b20;
  --gold: #e5aa2c;
  --gold-soft: #f8e8b8;
  --line: #e6e0d8;
  --shadow: 0 22px 70px rgba(46, 24, 25, .10);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
h1, h2 { font-family: "DM Serif Display", Georgia, serif; }
h1 { font-size: clamp(3.2rem, 7vw, 7rem); }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
p { margin: 0; color: var(--muted); }
.lead { max-width: 680px; font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.65; }
.red { color: var(--red); }
.gold { color: #976c09; }
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--dark { color: var(--white); background: #1b1a1a; }
.section--dark p { color: #cac4bf; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 52px; }
.section-head > div:first-child { max-width: 700px; }
.section-head h2 { margin-top: 18px; }
.section-head p { max-width: 430px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.preloader {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  color: var(--white); background: var(--red); transition: opacity .65s, visibility .65s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__mark { width: 76px; margin: 0 auto 18px; filter: brightness(0) invert(1); }
.preloader__number { font: 3.8rem "DM Serif Display", Georgia, serif; }
.preloader__line { width: 180px; height: 2px; margin-top: 12px; background: rgba(255,255,255,.35); overflow: hidden; }
.preloader__line::after { content: ""; display: block; width: 60%; height: 100%; background: var(--gold); animation: loadline 1.2s ease-in-out infinite; }
@keyframes loadline { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0;
  background: rgba(250,249,246,.84); border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px); transition: .3s ease;
}
.site-header.is-scrolled { padding: 10px 0; border-color: var(--line); box-shadow: 0 10px 36px rgba(0,0,0,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.03em; }
.brand img { width: 45px; height: 45px; object-fit: contain; }
.brand span { max-width: 145px; line-height: 1.05; }
.brand small { display: block; margin-top: 5px; color: var(--red); font-size: .57rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { position: relative; color: #46464a; font-size: .9rem; font-weight: 600; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { color: var(--red); }
.nav-toggle { display: none; border: 0; padding: 8px; color: var(--ink); background: transparent; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: currentColor; transition: .25s; }
.header-cta { white-space: nowrap; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px;
  color: var(--white); background: var(--red); font-weight: 700; transition: .25s;
  box-shadow: 0 10px 24px rgba(169,15,43,.16);
}
.button:hover { color: var(--white); background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(169,15,43,.24); }
.button--light { color: var(--ink); background: var(--white); border-color: var(--line); box-shadow: none; }
.button--light:hover { color: var(--red); background: var(--white); border-color: var(--gold); }
.button--ghost { color: var(--red); background: transparent; border-color: rgba(169,15,43,.28); box-shadow: none; }
.button--ghost:hover { color: var(--white); background: var(--red); }
.button--small { min-height: 40px; padding: 8px 16px; font-size: .86rem; }

.hero { position: relative; min-height: 790px; display: flex; align-items: end; overflow: hidden; padding: 180px 0 92px; background: #201f1d; color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,16,16,.9) 0%, rgba(19,16,16,.62) 48%, rgba(19,16,16,.15) 100%), linear-gradient(0deg, rgba(18,14,14,.85), transparent 54%), url("../img/carousel-1.jpg") center/cover; opacity: .94; }
.hero__content { position: relative; z-index: 1; max-width: 850px; }
.hero h1 { max-width: 900px; margin: 20px 0 28px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .lead { color: #eee8e3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 54px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); }
.hero__meta strong { display: block; color: var(--white); font-size: 1.05rem; }
.hero__meta span { color: #d9d0ca; font-size: .83rem; }
.hero__corner { position: absolute; right: 5%; bottom: 70px; z-index: 1; display: flex; align-items: center; gap: 10px; color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__corner::before { content: ""; width: 1px; height: 55px; background: var(--gold); }
.page-hero { padding: 190px 0 100px; color: var(--white); background: linear-gradient(100deg, rgba(23,18,18,.92), rgba(23,18,18,.56)), url("../img/about.jpg") center/cover; }
.page-hero h1 { margin: 18px 0 20px; max-width: 840px; }
.page-hero p { color: #eee8e3; max-width: 680px; }
.breadcrumb { display: flex; gap: 9px; color: #d6cbc6; font-size: .84rem; }
.breadcrumb a:hover { color: var(--gold); }

.trust-bar { position: relative; z-index: 2; margin-top: -34px; }
.trust-bar__inner { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.trust-item { min-height: 102px; display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 1.1rem; }
.trust-item span { display: block; color: var(--muted); font-size: .78rem; }
.stars { color: #b97900; letter-spacing: .12em; }

.intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.intro__visual { position: relative; min-height: 550px; }
.intro__visual img { width: 82%; height: 510px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.intro__stamp { position: absolute; right: 0; bottom: 28px; display: grid; place-items: center; width: 170px; height: 170px; border: 1px solid var(--gold); border-radius: 50%; color: var(--red); background: rgba(255,255,255,.9); text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,.11); }
.intro__stamp b { font: 3rem "DM Serif Display", Georgia, serif; line-height: .8; }
.intro__stamp span { max-width: 80px; font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.intro__copy h2 { margin: 18px 0 24px; }
.intro__copy .lead { margin-bottom: 23px; }
.check-list { display: grid; gap: 13px; padding: 0; margin: 26px 0 32px; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: #404145; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 800; }

.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.72); box-shadow: 0 12px 40px rgba(49,27,20,.05); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { border-color: rgba(229,170,44,.65); box-shadow: 0 22px 56px rgba(49,27,20,.12); transform: translateY(-5px); }
.card__body { padding: 28px; }
.card__image { width: 100%; height: 220px; object-fit: cover; }
.card__tag { display: inline-flex; margin-bottom: 15px; padding: 6px 10px; border-radius: 999px; color: var(--red); background: #f9e9ed; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card h3 { margin-bottom: 11px; }
.card p { font-size: .93rem; }
.card__link { display: inline-flex; margin-top: 19px; color: var(--red); font-size: .86rem; font-weight: 700; }
.card__link::after { content: "↗"; margin-left: 8px; transition: transform .2s; }
.card__link:hover::after { transform: translate(3px,-3px); }

.service-card { min-height: 270px; }
.service-card::after { content: attr(data-number); position: absolute; right: 20px; bottom: -12px; color: rgba(169,15,43,.06); font: 7rem "DM Serif Display", Georgia, serif; }
.service-card h3 { position: relative; z-index: 1; }
.service-card p, .service-card a { position: relative; z-index: 1; }
.course-card { min-height: 330px; display: flex; flex-direction: column; }
.course-card .card__body { flex: 1; display: flex; flex-direction: column; }
.course-card .card__link { margin-top: auto; }

.process { position: relative; }
.process::before { content: ""; position: absolute; top: 158px; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-step { position: relative; padding: 30px 22px 25px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.8); }
.process-step__number { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 30px; border: 1px solid var(--gold); border-radius: 50%; color: var(--red); background: var(--paper); font-weight: 800; }
.process-step h3 { font-size: 1.2rem; margin-bottom: 12px; }
.process-step p { font-size: .87rem; }
.process-step ul { padding-left: 17px; margin: 16px 0 0; color: var(--muted); font-size: .8rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; overflow: hidden; border-radius: 18px; background: rgba(255,255,255,.18); }
.stat { padding: 32px 25px; background: #252222; }
.stat strong { display: block; color: var(--gold); font: 3rem "DM Serif Display", Georgia, serif; }
.stat span { color: #dbd2cd; font-size: .84rem; }

.split-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.split-band__visual { min-height: 420px; background: center/cover url("../img/team-2-optimized.jpg"); }
.split-band__copy { display: flex; align-items: center; padding: 72px clamp(32px, 7vw, 100px); background: var(--red); color: var(--white); }
.split-band__copy p { color: #f8dfe4; }
.split-band__copy h2 { margin: 18px 0 22px; }
.split-band__copy .button { margin-top: 25px; color: var(--ink); background: var(--white); }

.quote-card { padding: 30px; }
.quote-card blockquote { margin: 0 0 20px; color: #343438; font: 1.2rem/1.45 "DM Serif Display", Georgia, serif; }
.quote-card footer { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .8rem; }
.quote-card footer strong { color: var(--ink); }
.quote-card .rating { color: #a36c00; }
.notice { padding: 18px 22px; border-left: 3px solid var(--gold); color: #645827; background: #fff8e6; font-size: .9rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 14px 44px rgba(49,27,20,.05); }
table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
th, td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--red); background: #fff9ef; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
td { color: var(--muted); font-size: .91rem; }
tr:last-child td { border-bottom: 0; }

.gallery { columns: 3 250px; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; overflow: hidden; border-radius: 16px; background: var(--white); }
.gallery img { width: 100%; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 12px 14px; color: var(--muted); font-size: .8rem; }

.journal-card { min-height: 330px; }
.journal-card time { display: block; margin-bottom: 14px; color: var(--red); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.journal-card h3 { line-height: 1.2; }

.faq-list { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; color: var(--ink); cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; padding: 0 40px 24px 0; font-size: .93rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.contact-stack { display: grid; gap: 15px; }
.contact-card { padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.contact-card small { display: block; margin-bottom: 5px; color: var(--red); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { display: block; margin-bottom: 5px; font-size: 1.1rem; }
.contact-card p { font-size: .9rem; }
.form-card { padding: clamp(25px, 5vw, 50px); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1/-1; }
.field label { color: #45454a; font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fcfbf9; outline: none; transition: .2s; }
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(169,15,43,.09); }
.form-note { margin-top: 13px; font-size: .77rem; }
.map-card { min-height: 290px; display: grid; place-items: center; padding: 30px; border-radius: 20px; color: #fff; text-align: center; background: linear-gradient(135deg, rgba(34,27,27,.85), rgba(119,11,32,.88)), url("../img/cadts-2.jpg") center/cover; }
.map-card p { color: #f4e9e4; }

.footer { padding: 74px 0 25px; color: #ddd5d0; background: #1c1a1a; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 35px; padding-bottom: 55px; }
.footer h3 { margin-bottom: 17px; color: var(--white); font-size: 1.1rem; }
.footer p { max-width: 300px; color: #aaa29c; font-size: .86rem; }
.footer a { display: block; margin: 8px 0; color: #aaa29c; font-size: .86rem; }
.footer a:hover { color: var(--gold); }
.footer .brand { margin-bottom: 17px; color: var(--white); }
.footer .brand img { filter: brightness(0) invert(1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #89817c; font-size: .75rem; }
.footer-bottom a { display: inline; margin: 0; font-size: inherit; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.tilt { --mx: 50%; --my: 50%; }
.tilt::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--mx) var(--my), rgba(229,170,44,.18), transparent 35%); transition: opacity .3s; }
.tilt:hover::before { opacity: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 99; padding: 8px 14px; color: #fff; background: var(--red); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.hide { display: none !important; }

@media (max-width: 1050px) {
  .nav-links { gap: 13px; }
  .nav-links a { font-size: .8rem; }
  .header-cta { display: none; }
  .intro { gap: 50px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process::before { display: none; }
}
@media (max-width: 780px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .section { padding: 78px 0; }
  .section-head, .intro { display: block; }
  .section-head p { margin-top: 18px; }
  .section-head { margin-bottom: 30px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 17px; left: 17px; display: grid; gap: 0; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s; }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 13px; }
  .nav-links a::after { display: none; }
  .intro__visual { min-height: 410px; margin-bottom: 45px; }
  .intro__visual img { width: 88%; height: 380px; }
  .intro__stamp { width: 135px; height: 135px; }
  .intro__stamp b { font-size: 2.3rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .trust-bar { margin-top: -18px; }
  .trust-bar__inner { grid-template-columns: 1fr 1fr; }
  .trust-item { min-height: 85px; padding: 15px; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split-band { grid-template-columns: 1fr; }
  .split-band__visual { min-height: 300px; }
  .split-band__copy { padding: 58px 25px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 730px; padding-top: 150px; }
  .hero h1, .page-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero__corner { display: none; }
}
@media (max-width: 480px) {
  .brand span { max-width: 118px; font-size: .9rem; }
  .brand img { width: 38px; height: 38px; }
  .trust-bar__inner, .process-grid, .stats, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .field--full { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}