:root {
  --ink: #0a1720;
  --ink-soft: #263743;
  --paper: #f5f2eb;
  --paper-2: #fbfaf7;
  --line: rgba(10, 23, 32, .14);
  --blue: #1487c8;
  --blue-deep: #0c6ea7;
  --service-active: #0b7194;
  --sand: #e9dfcd;
  --white: #fff;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 24px 70px rgba(4, 19, 29, .12);
  --shell: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid rgba(20,135,200,.48); outline-offset: 4px; }

.skip-link { position: fixed; left: 12px; top: 12px; transform: translateY(-150%); z-index: 100; background: #fff; color: #111; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }

.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: 104px 0; }
.eyebrow { margin: 0 0 18px; color: var(--blue-deep); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.72); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h2 { margin-bottom: 0; font-size: clamp(42px, 5vw, 70px); line-height: .98; font-weight: 720; }
h3 { font-size: 27px; line-height: 1.08; }
p { line-height: 1.62; }
.muted { color: #66737a; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled { color: var(--ink); background: rgba(251,250,247,.92); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; white-space: nowrap; font-size: 19px; font-weight: 900; letter-spacing: -.045em; }
.brand-dot { font-weight: 650; opacity: .72; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav-list, .mobile-menu-list { margin: 0; padding: 0; list-style: none; }
.desktop-nav-list { display: flex; align-items: center; gap: 30px; }
.desktop-nav-list li, .mobile-menu-list li { margin: 0; list-style: none; }
.desktop-nav a { font-size: 14px; font-weight: 650; opacity: .88; }
.desktop-nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-link { font-size: 14px; font-weight: 760; }
.menu-toggle { width: 44px; height: 44px; display: none; place-content: center; gap: 6px; background: transparent; border: 1px solid currentColor; border-radius: 50%; cursor: pointer; }
.menu-toggle span { width: 18px; height: 1.5px; display: block; background: currentColor; }
.mobile-menu { background: rgba(251,250,247,.98); color: var(--ink); border-top: 1px solid var(--line); }
.mobile-menu-inner { display: grid; padding: 18px 0 26px; }
.mobile-menu-list { display: grid; }
.mobile-menu a { padding: 13px 0; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--line); }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; border: 0; border-radius: 999px; font-weight: 760; letter-spacing: -.01em; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-deep); }
.button-light { background: #fff; color: var(--ink); }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255,255,255,.13); }
.button-wide { width: 100%; }
.site-header.is-scrolled .button-light { background: var(--ink); color: #fff; }
.fc-inner-page .site-header { color: var(--ink); background: rgba(251,250,247,.94); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.fc-inner-page .site-header .button-light { background: var(--ink); color: #fff; }
body.admin-bar .site-header { top: 32px; }

.hero { position: relative; min-height: 770px; height: min(90vh, 920px); display: flex; align-items: flex-end; overflow: hidden; background: #0d5481; color: #fff; }
.hero-image { position: absolute; inset: 0; background-image: url('../img/constanta-hero.webp'); background-size: cover; background-position: center 47%; transform: scale(1.012); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,17,26,.74) 0%, rgba(4,17,26,.43) 37%, rgba(4,17,26,.05) 68%, rgba(4,17,26,.2) 100%), linear-gradient(0deg, rgba(4,17,26,.65) 0%, rgba(4,17,26,0) 45%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 143px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(440px, .8fr); gap: 50px; align-items: end; }
.hero-copy { max-width: 720px; }
.hero h1 { margin-bottom: 24px; max-width: 700px; font-size: clamp(58px, 7.3vw, 104px); line-height: .88; font-weight: 760; }
.hero-title-line { display: inline-block; white-space: nowrap; letter-spacing: -.045em; }
.hero-lead { max-width: 650px; margin-bottom: 31px; color: rgba(255,255,255,.84); font-size: clamp(18px, 2vw, 23px); line-height: 1.42; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { border-top: 1px solid rgba(255,255,255,.28); display: grid; grid-template-columns: repeat(3, 1fr); align-self: end; }
.hero-proof div { min-height: 118px; padding: 18px 18px 0 0; border-right: 1px solid rgba(255,255,255,.22); }
.hero-proof div:not(:first-child) { padding-left: 18px; }
.hero-proof div:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 18px; font-size: 11px; font-weight: 800; letter-spacing: .12em; opacity: .65; }
.hero-proof strong, .hero-proof small { display: block; }
.hero-proof strong { font-size: 15px; }
.hero-proof small { margin-top: 5px; color: rgba(255,255,255,.65); font-size: 12px; }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .78fr; gap: 110px; align-items: end; }
.intro h2 { max-width: 780px; }
.intro-copy { max-width: 530px; padding-bottom: 4px; }
.intro-copy p { font-size: 18px; }
.intro-copy p:last-child { margin-bottom: 0; }

.services { background: var(--paper-2); }
.section-head { margin-bottom: 54px; display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-head > p { max-width: 430px; margin-bottom: 4px; color: #66737a; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 570px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease; }
.service-card:hover, .service-card:focus-within { transform: translateY(-5px); box-shadow: 0 24px 70px rgba(11,113,148,.24); background: var(--service-active); color: #fff; border-color: var(--service-active); }
.service-card-featured { background: var(--service-active); color: #fff; border-color: var(--service-active); }
.service-card-featured .text-link,
.service-card:hover .text-link,
.service-card:focus-within .text-link { color: #fff; }
.service-topline { min-height: 46px; display: flex; justify-content: flex-end; align-items: flex-start; }
.pill { min-height: 38px; padding: 0 17px; display: inline-flex; align-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 8px; background: #f8f6f1; color: var(--ink); font-size: 10.5px; line-height: 1; font-weight: 880; letter-spacing: .12em; white-space: nowrap; }
.service-card-featured .pill,
.service-card:hover .pill,
.service-card:focus-within .pill { border-color: rgba(255,255,255,.7); background: #f8f6f1; color: var(--ink); }
.service-icon { position: relative; width: 76px; height: 76px; margin: 12px 0 30px; display: grid; place-content: center; border: 1px solid rgba(10,23,32,.18); border-radius: 50%; background: transparent; color: var(--ink); transition: border-color .22s ease, color .22s ease, transform .22s ease; }
.service-icon::after { content: ""; position: absolute; inset: 7px; border: 1px solid currentColor; border-radius: inherit; opacity: .15; }
.service-card-featured .service-icon,
.service-card:hover .service-icon,
.service-card:focus-within .service-icon { border-color: rgba(255,255,255,.42); color: #fff; }
.service-card:hover .service-icon { transform: translateY(-2px) rotate(-1deg); }
.service-icon svg { position: relative; z-index: 1; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 17px; }
.service-card p { min-height: 86px; color: #5e6b72; font-size: 15px; }
.service-card ul { margin: 6px 0 30px; padding: 0; list-style: none; }
.service-card li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid currentColor; border-color: rgba(10,23,32,.09); color: #52616a; font-size: 14px; }
.service-card-featured p, .service-card-featured li,
.service-card:hover p, .service-card:hover li,
.service-card:focus-within p, .service-card:focus-within li { color: rgba(255,255,255,.84); }
.service-card-featured li,
.service-card:hover li,
.service-card:focus-within li { border-color: rgba(255,255,255,.12); }
.service-card li::before { content: ""; position: absolute; left: 1px; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.service-card-featured li::before,
.service-card:hover li::before,
.service-card:focus-within li::before { background: #8ed8ef; }
.text-link { margin-top: auto; display: inline-flex; justify-content: space-between; align-items: center; font-weight: 790; }
.text-link span { font-size: 22px; }

@media (hover: hover) {
  .service-grid:has(.service-card:hover) .service-card-featured:not(:hover) { transform: none; box-shadow: none; background: #fff; color: var(--ink); border-color: var(--line); }
  .service-grid:has(.service-card:hover) .service-card-featured:not(:hover) p,
  .service-grid:has(.service-card:hover) .service-card-featured:not(:hover) li { color: #52616a; }
  .service-grid:has(.service-card:hover) .service-card-featured:not(:hover) .text-link { color: var(--ink); }
  .service-grid:has(.service-card:hover) .service-card-featured:not(:hover) .pill { border-color: rgba(10,23,32,.16); background: var(--ink); color: #fff; }
  .service-grid:has(.service-card:hover) .service-card-featured:not(:hover) .service-icon { border-color: rgba(10,23,32,.18); color: var(--ink); }
  .service-grid:has(.service-card:hover) .service-card-featured:not(:hover) li { border-color: rgba(10,23,32,.09); }
  .service-grid:has(.service-card:hover) .service-card-featured:not(:hover) li::before { background: var(--blue); }
}

.portfolio { background: var(--paper); }
.portfolio-head h2 { max-width: 820px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.portfolio-item { position: relative; min-height: 260px; margin: 0; overflow: hidden; border-radius: 22px; background: #dfe4e4; }
.portfolio-item:nth-child(1) { grid-column: span 7; min-height: 520px; }
.portfolio-item:nth-child(2) { grid-column: span 5; min-height: 520px; }
.portfolio-item:nth-child(3),
.portfolio-item:nth-child(4),
.portfolio-item:nth-child(5) { grid-column: span 4; min-height: 330px; }
.portfolio-item:nth-child(6) { grid-column: 1 / -1; min-height: 430px; }
.portfolio-item img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:nth-child(3) img { object-position: center 42%; }
.portfolio-item:nth-child(6) img { object-position: center 52%; }
@media (hover: hover) {
  .portfolio-item:hover img { transform: scale(1.025); }
}

.split-band { background: var(--ink); color: #fff; }
.split-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.big-statement h2 { max-width: 600px; }
.benefit-list { border-top: 1px solid rgba(255,255,255,.18); }
.benefit-list > div { padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.benefit-list p { margin: 0; color: rgba(255,255,255,.7); }
.benefit-list strong { color: #fff; }

.process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-grid article { min-height: 290px; padding: 30px 34px 0 0; border-right: 1px solid var(--line); }
.process-grid article:not(:first-child) { padding-left: 34px; }
.process-grid article:last-child { border-right: 0; }
.process-grid .step-number { color: var(--blue-deep); opacity: 1; }
.process-grid h3 { margin: 74px 0 14px; }
.process-grid p { max-width: 310px; margin-bottom: 0; color: #66737a; }

.audience { background: var(--paper-2); }
.audience-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.audience-copy h2 { font-size: clamp(43px, 4.8vw, 68px); }
.audience-copy > p:last-child { max-width: 540px; margin: 28px 0 0; color: #66737a; font-size: 18px; }
.audience-tags { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.audience-tags span { padding: 17px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 700; }

.contact { background: #0c6f9f; color: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; align-items: start; }
.contact-copy { padding-top: 18px; }
.contact-copy h2 { max-width: 550px; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; margin: 26px 0; color: rgba(255,255,255,.76); font-size: 18px; }
.contact-phone { display: block; margin: 18px 0 25px; font-size: clamp(38px, 4vw, 58px); font-weight: 800; letter-spacing: -.04em; }
.contact-copy .button { max-width: 310px; }
.quote-form { padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: 0 25px 65px rgba(1,28,43,.22); }
.quote-form label { display: grid; gap: 8px; }
.quote-form label:nth-child(4), .quote-form button, .form-note { grid-column: 1 / -1; }
.quote-form label > span { font-size: 13px; font-weight: 780; }
.quote-form em { color: #8a969c; font-style: normal; font-weight: 500; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid #d8dfe2; border-radius: 13px; background: #fbfcfc; color: var(--ink); outline: none; }
.quote-form input, .quote-form select { height: 54px; padding: 0 15px; }
.quote-form textarea { resize: vertical; min-height: 112px; padding: 14px 15px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,135,200,.12); }
.form-note { margin: -2px 0 0; color: #7a868c; font-size: 11px; line-height: 1.45; }

.site-footer { padding: 64px 0 22px; background: #071119; color: #fff; }
.footer-main { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; padding-bottom: 58px; }
.footer-brand { font-size: 24px; }
.footer-main > div:first-child p { margin: 14px 0 0; color: rgba(255,255,255,.5); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links div { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 8px; color: rgba(255,255,255,.46); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.78); font-size: 14px; transition: color .18s ease; }
.footer-links a:hover, .footer-links a:focus-visible { color: #69c4ee; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.42); font-size: 12px; }

.floating-call { position: fixed; z-index: 45; right: 22px; bottom: 22px; min-height: 52px; padding: 0 18px; display: none; align-items: center; gap: 9px; border-radius: 999px; background: var(--blue); color: #fff; box-shadow: 0 15px 40px rgba(1,52,82,.28); font-weight: 800; }
.floating-call svg { width: 18px; height: 18px; fill: currentColor; }

.content-page { min-height: 70vh; padding-top: 172px; background: var(--paper-2); }
.content-page-inner { max-width: 900px; }
.content-page h1 { max-width: 820px; margin-bottom: 34px; font-size: clamp(48px, 7vw, 82px); line-height: .95; font-weight: 760; }
.content-page h2 { font-size: clamp(34px, 4vw, 52px); }
.entry-content { color: #44535c; font-size: 17px; }
.entry-content > * { max-width: 760px; }
.entry-content a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img, .entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content blockquote { margin: 32px 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--blue); color: var(--ink); }
.privacy-content h2 { margin: 52px 0 18px; color: var(--ink); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; }
.privacy-content ul { padding-left: 22px; }
.privacy-content li { margin-bottom: 10px; line-height: 1.6; }
.post-card { padding: 34px 0; border-bottom: 1px solid var(--line); }
.post-card:first-child { padding-top: 0; }
.nav-links { margin-top: 38px; display: flex; gap: 10px; }
.nav-links .page-numbers { min-width: 42px; min-height: 42px; padding: 0 12px; display: grid; place-content: center; border: 1px solid var(--line); border-radius: 999px; }
.nav-links .current { background: var(--ink); color: #fff; }

@media (max-width: 1040px) {
  :root { --shell: min(100% - 38px, 920px); }
  .desktop-nav, .phone-link { display: none; }
  .menu-toggle { display: grid; }
  .hero { min-height: 820px; height: auto; }
  .hero-content { padding-top: 210px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-proof { max-width: 680px; }
  .intro-grid, .split-band-grid, .audience-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .intro-copy { max-width: 680px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 500px; }
  .portfolio-item:nth-child(1), .portfolio-item:nth-child(2) { min-height: 440px; }
  .portfolio-item:nth-child(3), .portfolio-item:nth-child(4), .portfolio-item:nth-child(5) { min-height: 280px; }
  .portfolio-item:nth-child(6) { min-height: 360px; }
  .contact-copy { max-width: 670px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 30px); }
  .section-pad { padding: 76px 0; }
  .header-inner { height: 72px; }
  .brand { font-size: 17px; }
  .header-actions .button { display: none; }
  .hero { min-height: 760px; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,17,26,.79), rgba(4,17,26,.34)), linear-gradient(0deg, rgba(4,17,26,.72), rgba(4,17,26,0) 56%); }
  .hero-content { padding-top: 160px; padding-bottom: 34px; gap: 42px; }
  .hero h1 { font-size: clamp(54px, 16vw, 78px); }
  .hero-title-line { font-size: .62em; line-height: 1.08; }
  .hero-lead { font-size: 18px; }
  .hero-buttons .button { flex: 1; min-width: 145px; }
  .hero-proof { grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.28); }
  .hero-proof div { min-height: auto; padding: 14px 0; display: grid; grid-template-columns: 1fr; align-items: center; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .hero-proof div:not(:first-child) { padding-left: 0; }
  .hero-proof small { margin: 0; }
  h2 { font-size: 44px; }
  .intro-grid { gap: 32px; }
  .section-head { display: block; margin-bottom: 36px; }
  .section-head > p { margin-top: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 520px; padding: 25px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 10px; }
  .portfolio-item:nth-child(n) { grid-column: auto; min-height: 280px; border-radius: 18px; }
  .portfolio-item:nth-child(1), .portfolio-item:nth-child(2) { min-height: 360px; }
  .split-band-grid { gap: 44px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article:not(:first-child) { min-height: auto; padding: 24px 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid article:last-child { border-bottom: 0; }
  .process-grid h3 { margin: 28px 0 10px; }
  .audience-grid { gap: 38px; }
  .quote-form { padding: 22px; grid-template-columns: 1fr; }
  .quote-form label:nth-child(4), .quote-form button, .form-note { grid-column: auto; }
  .contact-phone { font-size: 42px; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .footer-bottom { padding-bottom: 72px; flex-direction: column; }
  .floating-call { display: flex; }
  .content-page { padding-top: 132px; }
  .content-page h1 { font-size: 50px; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
