/* Unfaro — static site styles. Ported from the WordPress/Elementor build. */

@font-face { font-family: Poppins; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-300.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-italic.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat.woff2) format("woff2"); }

:root {
  --accent: #F97316;
  --accent-dark: #E9670D;
  --amber: #FF9000;
  --gold: #F7941D;
  --ink: #000;
  --slate: #1E293B;
  --muted: #6D6D6D;
  --soft: #FBFAFC;
  --card: #F8F8F8;
  --poppins: Poppins, sans-serif;
  --montserrat: Montserrat, sans-serif;
  --system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--poppins); color: var(--ink); background: #fff; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--poppins); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 700; }

.wrap { width: min(100% - 40px, 1240px); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font: 600 18px/1 var(--montserrat); color: #fff; background: var(--accent); border: 2px solid var(--accent); border-radius: 36px; padding: 22px 36px; transition: background-color .3s, color .3s, border-color .3s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-line { font-size: 14px; text-transform: uppercase; color: #000; background: transparent; border-color: var(--amber); padding: 14px 30px; }
.btn-line:hover { color: #fff; background: var(--amber); border-color: var(--amber); }
.btn-ghost { font-weight: 700; text-transform: uppercase; background: transparent; border-color: #fff; padding: 16px 24px; }
.btn-ghost:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: #fff; }
.is-single .site-header { border-bottom: 1px solid #E0E0E0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.logo img { width: 170px; }
.nav ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 15px 17px; font: 600 16px/1 var(--montserrat); color: #000; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .cta { color: #fff; background: var(--accent); border-radius: 36px; padding: 16px 32px; }
.nav .cta:hover, .nav .cta[aria-current="page"] { color: #fff; background: var(--accent-dark); }
.nav-toggle { display: none; padding: 8px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #000; }

/* ---------- Heroes ---------- */
.hero { padding: 120px 0; color: #fff; background: #1b1f4a center / cover no-repeat; }
.hero .wrap > div { max-width: 674px; }
.hero h1 { font-size: 62px; font-weight: 600; line-height: 68px; }
.hero p { margin: 0 0 30px; font: 500 24px/37px var(--montserrat); }

.page-hero { display: flex; align-items: center; min-height: 362px; color: #fff; background: #1b1f4a center / cover no-repeat; }
.page-hero h1 { font-size: 52px; font-weight: 600; line-height: 1.4; }

/* ---------- Section basics ---------- */
.section-title { font-size: 46px; font-weight: 500; line-height: 54px; }
.rule { display: block; width: 140px; height: 0; margin: 20px auto 40px; border: 0; border-top: 4px solid var(--amber); }
.eyebrow { margin-bottom: 20px; font: 600 18px/1 var(--montserrat); color: var(--accent); }

/* Home: why */
.why { padding: 60px 0 40px; background: url(../img/Vector.png) left center / contain no-repeat; }
.why .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.why .section-title { max-width: 600px; }
.why .text { font: 400 16px/28px var(--montserrat); }
.why .btn-line { margin-top: 6px; }

/* Card grids (What We Offer / Unfaro's Edge) */
.offer { padding: 70px 0; background: url(../img/what-we-offer2.png) right -100px top -40px / auto 685px no-repeat, url(../img/what-we-offer.png) left bottom / contain no-repeat, var(--soft); }
.offer .section-title { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.card { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; min-height: 550px; padding: 30px; color: #fff; border-radius: 16px; background: #222 center / cover no-repeat; }
.card h3 { font-size: 30px; font-weight: 400; line-height: 32px; }
.card .bar { width: 60px; border-top: 4px solid var(--amber); }
.card p { font: 500 16px/22px var(--montserrat); }
.card.plain p { font-family: var(--poppins); font-weight: 400; }

/* Home: industries tiles */
.industries { padding: 90px 0 120px; text-align: center; }
.industries .lead { max-width: 880px; margin: 15px auto 40px; font: 400 18px/23px var(--montserrat); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.tile { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 150px; padding: 30px; color: #fff; border-radius: 16px; background: #222 center / cover no-repeat; }
.tile h3 { font-size: 26px; font-weight: 400; line-height: 1.2; }
.tile .bar { width: 60px; border-top: 4px solid #DFB011; }

/* Testimonials */
.testimonials { padding: 60px 0; color: #fff; background: #000; text-align: center; border-bottom: 1px solid #222; }
.testimonials h2 { font-size: 35px; font-weight: 600; line-height: 1.3; color: var(--accent); }
.testimonials .quote-mark { margin: 20px auto 30px; }
.slides { max-width: 667px; margin-inline: auto; overflow: hidden; }
.track { display: flex; transition: transform .5s ease; }
.slide { flex: 0 0 100%; margin: 0; }
.slide blockquote { margin: 0 0 20px; font-size: 18px; font-style: italic; line-height: 27px; }
.slide cite { display: block; font-size: 24px; font-style: normal; font-weight: 700; line-height: 36px; color: var(--accent); }
.slide .role { font-size: 16px; line-height: 24px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 25px; }
.dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #5C5C5C; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--accent); }

/* ---------- Image + text rows (Services, Industries, About) ---------- */
.rows { padding: 60px 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.row + .row { margin-top: 80px; }
.row > img { width: 100%; border-radius: 20px; }
.row h2, .row h3 { margin-bottom: 15px; font-size: 34px; font-weight: 500; line-height: 1.3; }
.row h4 { margin: 20px 0 10px; font: 600 18px/1.2 var(--montserrat); color: var(--accent); }
.row .use-case b { color: var(--accent); }
.checks { margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 27px; font-size: 16px; font-weight: 300; line-height: 24px; }
.checks li + li { margin-top: 8px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; background: url(../img/list-arrow.svg) center / contain no-repeat; }

/* About */
.who .row > img { border-radius: 28px; }
.who .row > div { padding-left: 60px; }
.who h2 { font-size: 42px; }
.who p { line-height: 28px; }
.mission { padding: 60px 0; color: #fff; background: #000 url(../img/Mission-01.webp) right center / auto 100% no-repeat; }
.mission .wrap > div { max-width: 750px; }
.mission h2 { margin-bottom: 20px; font-size: 42px; font-weight: 500; line-height: 1.3; }
.mission .checks li { color: #fff; }
.values { padding: 60px 0; text-align: center; }
.values h2 { font-size: 46px; font-weight: 500; line-height: 54px; }
.values .intro { margin: 10px 0 40px; }
.values ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.values li { padding: 0 20px; font-size: 18px; line-height: 26px; }
.values li + li { border-left: 1px solid #D3D3D3; }
.values img { margin: 0 auto 20px; }

/* Industries page */
.intro-block { padding: 60px 0 20px; text-align: center; }
.intro-block p { max-width: 856px; margin-inline: auto; }
.intro-block .rule { width: 90px; margin: 30px auto 0; border-top: 5px solid var(--accent); }
.outro { max-width: 632px; margin: 0 auto; padding: 0 0 60px; text-align: center; }

/* ---------- Listing cards (Case Study / White Paper / Blog) ---------- */
.listing { padding: 80px 0; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.cs-card { display: flex; align-items: center; gap: 20px; padding: 20px; background: var(--card); border-radius: 22px; box-shadow: 0 10px 20px rgba(0,0,0,.06); transition: transform .3s; }
.cs-card:hover { transform: translateY(-5px); }
.cs-card img { flex: 0 0 40%; width: 40%; height: 230px; object-fit: cover; border-radius: 10px; }
.cs-card .date { margin: 0 0 10px; font: 400 12px/1.65 var(--system); color: var(--gold); }
.cs-card h3 { margin-bottom: 10px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.cs-card p { margin-bottom: 10px; font-size: 15px; }
.read-more { font: 600 14px/1.65 var(--system); color: var(--gold); text-transform: uppercase; }
.read-more:hover { color: #000; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; padding: 16px 16px 40px; background: var(--card); border-radius: 42px; box-shadow: 0 11px 48px rgba(0,0,0,.18); }
.post-card img { width: 100%; aspect-ratio: 368 / 217; object-fit: cover; border-radius: 26px; }
.post-card .body { padding: 24px 14px 0; }
.post-card h3 { font-size: 24px; font-weight: 600; line-height: 1.3; color: #000; }
.post-card .date { margin: 6px 0 20px; font: 400 12px/1.3 var(--poppins); color: var(--amber); }
.post-card p { margin-bottom: 20px; font: 400 16px/1.7 var(--poppins); }
.post-card .read-more { font: 600 16px/1.65 var(--system); color: var(--amber); }

/* ---------- Single post ---------- */
.post-layout { display: grid; grid-template-columns: 65fr 30fr; gap: 60px; padding: 70px 0 60px; }
.post-title { margin-bottom: 14px; font-size: 42px; font-weight: 600; line-height: 48px; color: #000; }
.meta { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; font: 400 14px/1.65 var(--system); color: var(--amber); }
.meta img { width: 14px; }
.featured { width: 100%; margin-bottom: 30px; border-radius: 42px; }
.prose { padding: 0 10px; font-size: 16px; line-height: 1.65; }
.prose h3 { margin: 30px 0 12px; font-size: 24px; font-weight: 700; line-height: 1.3; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 8px; }
.prose a { color: #046BD2; }
.paper .prose a { text-decoration: underline; }
.prose .split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin: 20px 0; }
.prose .split img { border-radius: 20px; }
.recent h2 { margin-bottom: 20px; padding-bottom: 10px; font-size: 24px; font-weight: 600; border-bottom: 1px solid #000; }
.recent ul { margin: 0; padding: 0; list-style: none; }
.recent a { display: flex; gap: 20px; margin-bottom: 16px; padding-bottom: 17px; border-bottom: 1px solid #00000014; }
.recent a > img { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.recent strong { display: block; margin-bottom: 10px; font-size: 16px; line-height: 22px; }
.recent small { display: flex; align-items: center; gap: 6px; color: var(--amber); }
.recent small img { width: 14px; }

/* Case study / white paper single */
.cs-single { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.cs-single .date { margin-bottom: 10px; font: 400 14px/1.65 var(--system); color: var(--gold); }
.cs-single h1 { margin-bottom: 20px; font: 700 36px/1.4 var(--system); color: var(--slate); }
.cs-single .featured { margin: 20px 0; border-radius: 15px; }
.cs-single .prose { padding: 0; font-size: 16px; line-height: 1.8; }
.cs-single .prose strong { color: var(--gold); }
.cs-single.paper .prose strong { color: #000; }
.cs-single .prose h3 { font-weight: 600; color: var(--slate); }

/* ---------- Contact ---------- */
.contact { padding: 80px 0; color: #fff; background: #1C1C1C; text-align: center; }
.contact h1 { font-size: 36px; font-weight: 600; line-height: 1.4; }
.contact .rule { width: 15%; margin: 15px auto; border-top: 1px solid var(--accent); }
.contact .sub { line-height: 1; color: var(--muted); }
.contact .map { margin: 30px auto 0; }
.places { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; padding: 0; list-style: none; }
.places li { display: flex; flex-direction: column; align-items: center; gap: 30px; font-size: 25px; line-height: 1; }
.places li + li { border-left: 1px solid #2F2F2F; }
.reach { display: grid; grid-template-columns: 1fr 1fr; padding-top: 50px; border-top: 1px solid #2F2F2F; }
.reach div { font-size: 18px; line-height: 1; }
.reach a { display: block; margin-top: 15px; font-size: 22px; font-weight: 600; color: var(--accent); }

.contact-form { max-width: 860px; margin: 60px auto 0; text-align: left; }
.contact-form h2 { margin-bottom: 30px; font-size: 28px; font-weight: 600; text-align: center; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-row > label { flex: 1; }
.contact-form label span { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 500; color: #ABABAB; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px; font: 400 14px/1.4 var(--poppins); border: 1px solid #ccc; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,.05); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button { padding: 16px 24px; font: 700 16px/1 var(--poppins); color: #fff; background: var(--accent); border: 0; border-radius: 8px; box-shadow: 0 6px 8px rgba(255,108,0,.3); cursor: pointer; transition: background-color .3s; }
.contact-form button:hover { background: #e65c00; }
.form-status { margin-top: 15px; }

/* ---------- Footer ---------- */
.cta-band { padding: 80px 0; color: #fff; text-align: center; background: #000 url(../img/transform-business-2.webp) center / cover no-repeat; }
.cta-band h2 { font-size: 52px; font-weight: 600; line-height: 1.3; }
.cta-band p { max-width: 880px; margin: 20px auto 30px; font: 500 24px/31px var(--montserrat); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; }
.site-footer ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 34px; margin: 0; padding: 0; list-style: none; }
.site-footer .links { font: 500 16px/26px var(--montserrat); color: #000; }
.site-footer .links a:hover { color: var(--accent); }
.site-footer .legal { gap: 4px 22px; margin-top: 8px; font: 500 14px/23px var(--montserrat); color: #868686; }

/* ---------- Entrance animations (ported from Elementor: same keyframes, 1.25s / .75s fast) ---------- */
/* The `js` class is set by an inline script in <head>, so without JS nothing is hidden. */
.js [data-animate] { visibility: hidden; }
.js [data-animate].animated { visibility: visible; animation-duration: 1.25s; animation-fill-mode: both; }
.js [data-animate][data-speed="fast"].animated { animation-duration: .75s; }
[data-animate="fadeIn"].animated { animation-name: fadeIn; }
[data-animate="fadeInUp"].animated { animation-name: fadeInUp; }
[data-animate="fadeInLeft"].animated { animation-name: fadeInLeft; }
[data-animate="fadeInRight"].animated { animation-name: fadeInRight; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-animate] { visibility: visible; animation: none; }
  .track { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .js .nav[data-animate] { visibility: visible; animation: none; } /* the dropdown menu opens instantly */
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { padding: 15px 20px; border-top: 1px solid #eee; }
  .nav .cta { color: #000; background: none; border-radius: 0; padding: 15px 20px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why .wrap, .row, .post-layout { grid-template-columns: 1fr; }
  .row > img { order: -1; }
  .who .row > div { padding-left: 0; }
  .posts { grid-template-columns: 1fr 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 42px; line-height: 1.1; }
  .hero p { font-size: 18px; line-height: 1.5; }
  .btn:not(.btn-line) { font-size: 16px; }
  .hero .btn { padding: 16px 20px; }
  .slide { padding: 0 26px; }
  .page-hero { min-height: 220px; }
  .page-hero h1 { font-size: 36px; }
  .section-title { font-size: 32px; line-height: 1.25; }
  .why .section-title { font-size: 30px; line-height: 42px; }
  .rule { width: 83px; }
  .cards, .tiles, .posts, .values ul, .places, .reach { grid-template-columns: 1fr; }
  .card { min-height: 420px; }
  .services .row h2 { font-size: 26px; }
  .offer .section-title { line-height: 54px; }
  .prose, .values .intro { font-size: 14.6px; }
  .contact .sub { line-height: 1.5; }
  .who h2, .mission h2, .values h2 { font-size: 32px; }
  .mission { background-size: cover; background-blend-mode: multiply; background-color: rgba(0,0,0,.6); }
  .values li + li, .places li + li { border-left: 0; }
  .values li { padding: 20px 10px; font-size: 16px; }
  .places li { gap: 15px; padding: 20px 0; font-size: 18px; line-height: 1.2; }
  .reach { gap: 30px; padding-top: 30px; }
  .reach div { font-size: 14px; }
  .reach a { font-size: 18px; }
  .form-row { display: block; }
  .form-row > label { display: block; margin-bottom: 20px; }
  .cs-card { display: block; }
  .cs-card img { width: 100%; margin-bottom: 20px; }
  .post-title { font-size: 34px; line-height: 40px; }
  .post-layout { padding-top: 14px; }
  .prose .split { grid-template-columns: 1fr; }
  .cs-single h1 { font-size: 26px; }
  .testimonials h2 { font-size: 30px; }
  .cta-band h2 { font-size: 28px; }
  .cta-band p { font-size: 16px; line-height: 1.7; }
  .btn-ghost { font-size: 16px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .site-footer ul { justify-content: flex-start; }
  .site-footer .links { line-height: 32px; }
  .site-footer .legal { line-height: 28px; }
  .contact h1 { font-size: 27px; }
  .cs-single .prose h3 { font-size: 18px; }
}
