/* =========================================================
   FalcoFort Limited — Website stylesheet
   ========================================================= */
:root {
  --navy: #071739;
  --navy-2: #0c2556;
  --blue: #1f5bff;
  --blue-dark: #1442c8;
  --cyan: #12c2ef;
  --text: #33405e;
  --muted: #66738f;
  --line: #e3e9f5;
  --soft: #f3f6fd;
  --white: #ffffff;
  --grad: linear-gradient(120deg, #1f5bff 0%, #12c2ef 100%);
  --shadow: 0 24px 60px -24px rgba(7, 23, 57, .25);
  --shadow-sm: 0 8px 24px -12px rgba(7, 23, 57, .18);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 800; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid rgba(31, 91, 255, .45); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

/* Image fallback when a photo can't load */
.photo { background: var(--grad); position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(7, 23, 57, .35); }
.header .container { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--navy); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo img { width: 46px; height: 46px; }
.logo span small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: -3px; }
.menu { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: .55rem .95rem; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: .95rem; }
.menu a:hover { color: var(--blue); background: var(--soft); }
.menu a.active { color: var(--blue); }
.menu .btn { margin-left: .5rem; color: #fff; }
.menu .btn:hover { color: #fff; background: var(--blue-dark); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.6rem; border-radius: 12px; font-weight: 700; font-size: 1rem; background: var(--blue); color: #fff; border: 2px solid var(--blue); cursor: pointer; font-family: inherit; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 12px 24px -12px rgba(31, 91, 255, .7); }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn-outline:hover { background: var(--soft); border-color: var(--soft); color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: #eaf0ff; border-color: #eaf0ff; color: var(--navy); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Section basics ---------- */
section { padding: 100px 0; }
.tag { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border-radius: 999px; background: #e8efff; color: var(--blue); font-size: .85rem; font-weight: 700; margin-bottom: 1rem; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.intro { font-size: 1.1rem; color: var(--muted); max-width: 620px; }
.center { text-align: center; }
.center .intro { margin-inline: auto; }
.bg-soft { background: var(--soft); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 110px; background: radial-gradient(900px 500px at 85% 10%, #dfe9ff 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #e3f7fd 0%, transparent 60%); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); letter-spacing: -0.035em; margin-bottom: 1.2rem; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--navy); font-size: .95rem; }
.hero-points svg { width: 22px; height: 22px; color: #16a34a; flex: none; }

.hero-visual { position: relative; }
.hero-visual .main-photo { border-radius: 28px; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); }
.hero-visual .ring { position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 18px solid #dbe6ff; right: -40px; top: -40px; z-index: -1; }
.float-card { position: absolute; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.float-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e8efff; color: var(--blue); flex: none; }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.2; }
.float-card span { font-size: .82rem; color: var(--muted); }
.fc-1 { left: -36px; bottom: 60px; }
.fc-2 { right: -24px; top: 54px; }
.fc-2 .ico { background: #dcfce7; color: #16a34a; }

/* ---------- Category strip ---------- */
.strip { padding: 0; margin-top: -50px; position: relative; z-index: 2; }
.strip-box { background: var(--navy); border-radius: 22px; padding: 30px 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; box-shadow: var(--shadow); }
.strip-item { display: flex; align-items: center; gap: 14px; color: #fff; }
.strip-item .ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: var(--cyan); flex: none; }
.strip-item .ico svg { width: 26px; height: 26px; }
.strip-item strong { display: block; font-size: 1.02rem; }
.strip-item span { font-size: .86rem; color: #a9b8da; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.service { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service .photo { aspect-ratio: 16 / 10; }
.service-body { padding: 26px 26px 30px; position: relative; flex: 1; }
.service-body .ico { position: absolute; top: -30px; left: 26px; width: 58px; height: 58px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 12px 24px -10px rgba(31, 91, 255, .7); }
.service-body .ico svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.3rem; margin-top: 26px; margin-bottom: .5rem; }
.service p { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-images { position: relative; padding: 0 60px 60px 0; }
.about-images .p1 { border-radius: 24px; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.about-images .p2 { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: 22px; border: 8px solid #fff; box-shadow: var(--shadow); }
.about-badge { position: absolute; left: -20px; top: 40px; background: var(--grad); color: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); max-width: 190px; }
.about-badge strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.about-badge span { font-size: .85rem; opacity: .9; }
.about-text p { color: var(--muted); }
.about-text p.big { font-size: 1.15rem; color: var(--text); }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; }
.checks li { display: flex; gap: .65rem; font-weight: 600; color: var(--navy); }
.checks svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }

/* ---------- Mission & Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; }
.mv { border-radius: 26px; padding: 44px; position: relative; overflow: hidden; }
.mv .ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.4rem; }
.mv .ico svg { width: 32px; height: 32px; }
.mv h3 { font-size: 1.7rem; }
.mv p { font-size: 1.06rem; margin: 0; }
.mv-mission { background: var(--navy); color: #c9d5f2; }
.mv-mission h3 { color: #fff; }
.mv-mission .ico { background: var(--grad); color: #fff; }
.mv-vision { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.mv-vision .ico { background: #e8efff; color: var(--blue); }
.mv::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; bottom: -70px; border: 30px solid rgba(31, 91, 255, .12); }
.mv-mission::after { border-color: rgba(18, 194, 239, .15); }

/* ---------- Why us ---------- */
.why .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.why-item .ico { width: 50px; height: 50px; border-radius: 14px; background: #e8efff; color: var(--blue); display: grid; place-items: center; margin-bottom: 1rem; }
.why-item .ico svg { width: 24px; height: 24px; }
.why-item h4 { font-size: 1.1rem; margin-bottom: .4rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.why-photo { border-radius: 24px; aspect-ratio: 16 / 11; margin-top: 2rem; box-shadow: var(--shadow-sm); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 54px; counter-reset: s; position: relative; }
.step { text-align: center; position: relative; }
.step .num { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; background: #fff; border: 2px dashed #b9cbf5; color: var(--blue); position: relative; z-index: 1; }
.step .num svg { width: 30px; height: 30px; }
.step .num::after { counter-increment: s; content: counter(s); position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .85rem; font-weight: 800; display: grid; place-items: center; }
.step h4 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; border-top: 2px dashed #d3def7; }

/* ---------- CTA band ---------- */
.cta { padding: 0 0 100px; }
.cta-box { border-radius: 28px; padding: 60px; background: var(--grad); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; color: #eaf3ff; }
.cta-box::before, .cta-box::after { content: ""; position: absolute; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .1); }
.cta-box::before { width: 300px; height: 300px; right: -80px; top: -150px; }
.cta-box::after { width: 200px; height: 200px; left: 30%; bottom: -140px; }
.cta-box h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .4rem; }
.cta-box p { margin: 0; font-size: 1.08rem; }
.cta-box > * { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; margin-top: 54px; align-items: start; }
.info-cards { display: grid; gap: 18px; }
.info { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; align-items: flex-start; }
.info .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.info .ico svg { width: 24px; height: 24px; }
.info h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.info p, .info a { margin: 0; color: var(--muted); word-break: break-word; }
.info a:hover { color: var(--blue); }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); height: 240px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-card { background: #fff; border-radius: 26px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--navy); background: var(--soft); border: 1.5px solid transparent; border-radius: 12px; padding: .9rem 1rem; transition: border-color .2s, background .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-msg { margin: 12px 0 0; font-size: .92rem; color: #16a34a; font-weight: 600; min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #a9b8da; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer .logo span small { color: #a9b8da; }
.footer p { margin-top: 1.2rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer a { color: #a9b8da; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }

/* ---------- Legal pages ---------- */
.page-banner { padding: 80px 0 70px; background: var(--navy); color: #c9d5f2; text-align: center; position: relative; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; right: -150px; top: -250px; border: 60px solid rgba(31, 91, 255, .25); }
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .6rem; position: relative; }
.crumbs { display: flex; justify-content: center; gap: .6rem; font-size: .95rem; position: relative; }
.crumbs a { color: var(--cyan); }
.legal-content { padding: 70px 0 100px; }
.legal-content .container { max-width: 860px; min-height: 260px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn, .service { transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: 10px; } .fc-2 { right: 10px; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px 20px 22px; display: none; }
  .nav-open .nav { display: block; }
  .menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .menu a { padding: .9rem 1rem; font-size: 1.02rem; }
  .menu .btn { margin: 8px 0 0; }
  section { padding: 76px 0; }
  .hero { padding: 40px 0 100px; }
  .hero .container, .about .container, .why .container, .contact-grid, .mv-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .strip-box { grid-template-columns: 1fr 1fr; }
  .about-images { max-width: 560px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 26px; }
  .steps::before { display: none; }
  .cta-box { grid-template-columns: 1fr; padding: 44px 32px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 2.2rem); }
  .logo span small { display: none; }
  .hero h1 { font-size: 2.3rem; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .hero-points { gap: .8rem 1.2rem; }
  .float-card { padding: 10px 12px; border-radius: 14px; }
  .float-card .ico { width: 36px; height: 36px; }
  .float-card strong { font-size: .86rem; }
  .float-card span { font-size: .74rem; }
  .fc-1 { left: -6px; bottom: 24px; } .fc-2 { right: -6px; top: 24px; }
  .strip-box { grid-template-columns: 1fr; padding: 26px; }
  .services-grid, .why-list, .checks, .form-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .about-images { padding: 0 30px 40px 0; }
  .about-badge { left: -6px; top: 20px; padding: 14px 16px; max-width: 160px; }
  .mv { padding: 32px 26px; }
  .form-card { padding: 28px 22px; }
  .info { padding: 18px; }
}
