:root {
  color-scheme: light;
  --navy: #102d3a;
  --navy-deep: #0b222d;
  --ink: #19343e;
  --muted: #677a80;
  --teal: #70b7bc;
  --teal-light: #d9eff0;
  --paper: #f5f7f6;
  --white: #fff;
  --line: #dce4e3;
  --serif: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --section-space: clamp(5.4rem, 9vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #258c98; outline-offset: 3px; }
.content-wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.section-pad { padding-block: var(--section-space); }
.skip-link { position: absolute; z-index: 1000; top: 8px; left: 8px; padding: .6rem 1rem; transform: translateY(-150%); color: white; background: var(--navy); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; height: 82px; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,45,58,.08); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: min(1320px, calc(100% - 64px)); height: 100%; margin: 0 auto; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; width: 82px; }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; }
.primary-nav a { position: relative; color: #3a5159; font-size: .88rem; font-weight: 600; transition: color .2s ease; }
.primary-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; content: ""; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--navy); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.primary-nav a.is-active { color: #24727b; }
.primary-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.language-switch { display: flex; align-items: center; gap: 7px; color: #9ba8aa; font-size: .77rem; }
.language-switch button { padding: 3px 0; border: 0; color: #75878a; background: transparent; cursor: pointer; font-size: inherit; font-weight: 700; }
.language-switch button.is-active { color: var(--navy); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 20px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: .9rem; font-weight: 700; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: .79rem; }
.button-dark { color: white; background: var(--navy); }
.button-dark:hover { background: #1a4555; }
.button-light { color: var(--navy); background: #fff; }
.button-light:hover { background: #e6f2f1; }
.button-outline { border-color: #cad7d7; color: var(--navy); background: white; }
.button-outline:hover { border-color: var(--navy); }
.menu-toggle { display: none; }

.hero { position: relative; display: flex; min-height: min(740px, calc(100svh - 82px)); align-items: center; overflow: hidden; color: white; background: #314e56; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("../images/hero/Mediteranska%20vila%20uz%20bazen%20i%20more-2.jpg") center 55%/cover no-repeat; transform: scale(1.015); animation: hero-arrive 1.4s ease both; }
.hero-shade { background: linear-gradient(90deg, rgba(7,28,37,.77) 0%, rgba(7,28,37,.52) 40%, rgba(7,28,37,.08) 100%), linear-gradient(0deg, rgba(7,28,37,.3), transparent 42%); }
.hero-content { position: relative; z-index: 1; padding-top: 4.4rem; padding-bottom: 5.2rem; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: #54727a; font-size: .7rem; font-weight: 700; letter-spacing: .17em; line-height: 1.5; }
.eyebrow > span:first-child { width: 26px; height: 1px; flex: 0 0 auto; background: var(--teal); }
.eyebrow-light { color: rgba(255,255,255,.82); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); }
.hero h1 { max-width: 760px; margin: 0 0 22px; font-size: clamp(3.1rem, 7vw, 6.3rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.02; }
.hero-description { max-width: 560px; margin-bottom: 34px; color: rgba(255,255,255,.87); font-size: clamp(1rem, 1.45vw, 1.14rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; padding: 0 0 5px; border-bottom: 1px solid #9ab9bc; color: var(--navy); font-size: .88rem; font-weight: 700; }
.text-link span:last-child { color: #579ea5; transition: transform .2s ease; }
.text-link:hover span:last-child { transform: translate(3px,-2px); }
.text-link-light { border-color: rgba(255,255,255,.44); color: white; }
.text-link-light span:last-child { color: #a9dadd; }
.hero-caption { position: absolute; right: 32px; bottom: 35px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.82); font-size: .74rem; letter-spacing: .04em; }
.hero-caption span:first-child { color: #a8e0e1; font-size: .68rem; }
.scroll-cue { position: absolute; bottom: 0; left: 50%; display: grid; width: 38px; height: 56px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-bottom: 0; border-radius: 20px 20px 0 0; }
.scroll-cue span { width: 2px; height: 17px; background: white; animation: scroll-cue 1.6s ease-in-out infinite; }

.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(58px, 10vw, 132px); }
.about-visual { position: relative; padding: 0 36px 34px 0; }
.about-visual::before { position: absolute; z-index: 0; right: 0; bottom: 0; width: 66%; height: 68%; content: ""; background: #e1eeee; }
.about-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 62% center; }
.image-note { position: absolute; z-index: 2; right: -16px; bottom: 38px; display: flex; max-width: 230px; align-items: center; gap: 12px; padding: 14px 18px; color: var(--navy); background: white; box-shadow: 0 9px 32px rgba(15,45,58,.1); font-size: .76rem; font-weight: 600; line-height: 1.45; }
.note-line { width: 20px; height: 1px; flex: 0 0 auto; background: var(--teal); }
.about-copy h2, .section-heading h2, .contact-copy h2 { margin: 0 0 22px; color: var(--navy); font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 500; letter-spacing: -.06em; line-height: 1.1; }
.about-copy .eyebrow { margin-bottom: 17px; }
.lead { max-width: 420px; margin-bottom: 14px; color: #35535c; font-family: var(--serif); font-size: 1.22rem; font-weight: 600; line-height: 1.55; }
.body-copy { margin-bottom: 26px; color: var(--muted); font-size: .95rem; line-height: 1.85; }
.benefit-list { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.benefit-list li { display: flex; align-items: center; gap: 12px; color: #29454e; font-size: .9rem; font-weight: 600; }
.check-icon { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #397b82; background: #e6f3f1; font-size: .72rem; }

.services { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: 17px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { max-width: 355px; margin: 0 0 8px; color: var(--muted); font-size: .97rem; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #d6e0df; border-bottom: 1px solid #d6e0df; }
.service-item { position: relative; min-height: 300px; padding: 31px 25px 34px 0; border-right: 1px solid #d6e0df; transition: background .25s ease, padding .25s ease; }
.service-item:not(:first-child) { padding-left: 25px; }
.service-item:last-child { border-right: 0; }
.service-item:hover { padding-top: 25px; background: rgba(255,255,255,.58); }
.service-icon { width: 48px; height: 48px; margin-bottom: 23px; }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: #4a9aa0; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.service-number { position: absolute; top: 40px; right: 24px; color: #9dafb1; font-size: .7rem; letter-spacing: .08em; }
.service-item h3 { margin-bottom: 11px; color: var(--navy); font-size: 1.1rem; font-weight: 700; letter-spacing: -.025em; }
.service-item p { max-width: 260px; margin-bottom: 22px; color: var(--muted); font-size: .84rem; line-height: 1.75; }
.service-arrow { display: inline-grid; width: 30px; height: 30px; place-items: center; border: 1px solid #b8cdce; border-radius: 50%; color: #427d84; transition: background .2s ease, color .2s ease; }
.service-arrow:hover { color: white; background: var(--navy); }

.projects { color: white; background: var(--navy); }
.projects-heading { margin-bottom: 38px; }
.projects-heading h2 { color: white; }
.projects-aside { max-width: 420px; }
.projects-aside p { margin-bottom: 14px; color: rgba(255,255,255,.76); font-size: .92rem; line-height: 1.7; }
.demo-label { color: #a9dadb; font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.project-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 22px; }
.project-card { grid-column: span 2; }
.project-card:nth-child(4) { grid-column: 2 / span 2; }
.project-card:nth-child(5) { grid-column: 4 / span 2; }
.project-image-wrap { position: relative; overflow: hidden; background: #34505a; }
.project-image-wrap img { width: 100%; aspect-ratio: 1.37; object-fit: cover; transition: transform .55s cubic-bezier(.2,.65,.3,1); }
.project-card:hover .project-image-wrap img { transform: scale(1.045); }
.project-feature { position: absolute; right: 13px; bottom: 13px; padding: 7px 10px; color: var(--navy); background: rgba(255,255,255,.94); font-size: .58rem; font-weight: 700; letter-spacing: .1em; }
.project-info { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding-top: 16px; }
.project-info h3 { margin-bottom: 5px; color: white; font-size: 1.05rem; font-weight: 600; letter-spacing: -.025em; }
.project-info p { max-width: 320px; margin-bottom: 0; color: rgba(255,255,255,.65); font-size: .8rem; line-height: 1.55; }
.project-index { padding-top: 3px; color: #86bfc1; font-size: .7rem; }

.contact { background: #f6f8f7; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(55px, 8vw, 112px); }
.contact-copy { padding-top: 16px; }
.contact-copy .eyebrow { max-width: 370px; margin-bottom: 19px; }
.contact-copy h2 { margin-bottom: 17px; }
.contact-intro { max-width: 480px; margin-bottom: 36px; color: var(--muted); font-size: .96rem; line-height: 1.8; }
.contact-details { display: grid; gap: 20px; }
.contact-detail { display: flex; align-items: center; gap: 14px; }
.detail-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid #d7e3e2; border-radius: 50%; color: #56898d; font-size: 1.1rem; }
.contact-detail > span:last-child { display: grid; gap: 1px; }
.contact-detail small { color: #75898b; font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.contact-detail strong { color: var(--navy); font-size: .9rem; font-weight: 600; }
.contact-detail .contact-value { color: #50686e; font-size: .84rem; font-weight: 500; }
.contact-details a:hover strong, .contact-details a:hover .contact-value { color: #24727b; }
.contact-form { padding: clamp(25px, 4vw, 42px); border: 1px solid #e2e9e7; background: #fff; box-shadow: 0 15px 48px rgba(25,52,62,.045); }
.form-heading { margin-bottom: 24px; }
.form-heading h3 { margin-bottom: 5px; color: var(--navy); font-size: 1.35rem; font-weight: 700; letter-spacing: -.04em; }
.form-heading p { margin-bottom: 0; color: #7b8b8d; font-size: .78rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form label { display: block; margin-bottom: 17px; color: #365159; font-size: .78rem; font-weight: 600; }
.contact-form label > span:first-child + span:not(.optional) { color: #b1514e; }
.contact-form input:not([type="checkbox"]), .contact-form textarea, .contact-form select { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #dce5e4; border-radius: 1px; color: var(--ink); background: #fff; font-size: .86rem; font-weight: 400; }
.contact-form input:not([type="checkbox"]), .contact-form select { height: 46px; }
.contact-form textarea { min-height: 114px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a5b1b2; }
.optional { color: #98a6a7; font-size: .7rem; font-weight: 400; }
.privacy-notice { margin: 2px 0 17px; color: #63767a; font-size: .75rem; font-weight: 400; line-height: 1.55; }
.privacy-notice a { color: #276a74; text-decoration: underline; text-underline-offset: 2px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-footer { display: flex; align-items: center; gap: 15px; }
.form-submit { min-width: 170px; }
.form-submit:disabled { cursor: wait; opacity: .65; }
.form-status { color: #607276; font-size: .76rem; line-height: 1.5; }
.form-status.is-error { color: #a53937; }
.form-status.is-success { color: #26714f; }
.form-status.is-pending { color: #426f77; }
.form-note { margin: 14px 0 0; color: #849295; font-size: .69rem; line-height: 1.55; }

.site-footer { padding-top: 65px; color: rgba(255,255,255,.76); background: var(--navy-deep); }
.footer-main { display: grid; grid-template-columns: 1.35fr .75fr .95fr .9fr; gap: 50px; padding-bottom: 54px; }
.brand-footer { width: 84px; margin-bottom: 18px; padding: 4px; background: #fff; }
.footer-about p { max-width: 290px; margin-bottom: 0; color: rgba(255,255,255,.6); font-size: .84rem; line-height: 1.75; }
.footer-links { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-links h2 { margin: 0 0 8px; color: white; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.footer-links a, .footer-links span, .footer-cookie-settings { color: rgba(255,255,255,.64); font-size: .79rem; text-align: left; transition: color .2s ease; }
.footer-links a:hover, .footer-cookie-settings:hover { color: white; }
.footer-cookie-settings { padding: 0; border: 0; background: transparent; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 19px 23px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.52); font-size: .72rem; }

.cookie-banner { position: fixed; z-index: 50; right: 20px; bottom: 20px; left: 20px; display: flex; max-width: 1160px; align-items: center; justify-content: space-between; gap: 25px; margin-inline: auto; padding: 20px 24px; border: 1px solid #dbe5e4; background: white; box-shadow: 0 12px 48px rgba(7,31,39,.18); }
.cookie-banner[hidden], .cookie-dialog-backdrop[hidden] { display: none; }
.cookie-banner-copy { max-width: 640px; }
.cookie-title { margin-bottom: 3px; color: var(--navy); font-family: var(--serif); font-size: 1rem; font-weight: 700; }
.cookie-banner-copy p:last-child { margin-bottom: 0; color: #6d7b7d; font-size: .75rem; line-height: 1.55; }
.cookie-banner-copy a { color: #276a74; text-decoration: underline; }
.cookie-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-dialog-backdrop { position: fixed; z-index: 60; inset: 0; display: grid; overflow-y: auto; place-items: center; padding: 24px; background: rgba(5,22,29,.62); }
.cookie-dialog { position: relative; width: min(560px, 100%); padding: 36px; background: white; box-shadow: 0 20px 70px rgba(0,0,0,.25); }
.cookie-dialog .eyebrow { margin-bottom: 9px; }
.cookie-dialog h2 { margin-bottom: 8px; color: var(--navy); font-size: 1.8rem; letter-spacing: -.05em; }
.cookie-dialog-intro, .cookie-dialog-note { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.cookie-dialog-intro { margin-bottom: 20px; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cookie-category strong { display: block; color: var(--navy); font-size: .87rem; }
.cookie-category p, .category-description { display: block; margin: 2px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.5; }
.cookie-category input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--navy); }
.cookie-category input:disabled { opacity: .6; }
.cookie-dialog-note { margin: 14px 0; font-size: .7rem; }
.cookie-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.dialog-close { position: absolute; top: 15px; right: 17px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; color: #66787b; background: transparent; cursor: pointer; font-size: 1.65rem; line-height: 1; }
.policy-content { max-width: 900px; min-height: calc(100vh - 210px); padding-block: clamp(48px, 8vw, 92px); }
.policy-content h1 { margin: 0 0 22px; color: var(--navy); font-size: clamp(2.7rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.065em; line-height: 1.08; }
.policy-content h2 { margin: 34px 0 8px; color: var(--navy); font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; }
.policy-content > p:not(.eyebrow):not(.policy-back-link) { max-width: 760px; color: #5d7075; font-size: .96rem; line-height: 1.85; }
.policy-back-link { margin-top: 38px; }
.policy-footer .footer-bottom { min-height: 64px; }
.policy-page .header-inner > .text-link { margin-left: auto; }
.policy-page .language-switch { margin-left: 16px; }

@keyframes hero-arrive { from { transform: scale(1.06); } to { transform: scale(1.015); } }
@keyframes scroll-cue { 0%, 100% { transform: translateY(-3px); opacity: .45; } 50% { transform: translateY(4px); opacity: 1; } }

@media (max-width: 1000px) {
  .header-inner { gap: 17px; }
  .primary-nav { gap: 17px; }
  .header-actions { gap: 14px; }
  .header-cta { padding-inline: 13px; }
  .about-grid { gap: 55px; }
  .service-item { padding-right: 16px; }
  .service-item:not(:first-child) { padding-left: 16px; }
  .service-number { right: 13px; }
  .contact-grid { gap: 48px; }
  .footer-main { gap: 30px; }
}
@media (max-width: 760px) {
  :root { --section-space: 5rem; }
  .content-wrap { width: min(100% - 40px, var(--wrap)); }
  .site-header { height: 72px; }
  .header-inner { width: calc(100% - 40px); }
  .brand { width: 78px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; margin-left: auto; border: 1px solid #dbe4e3; background: white; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1px; background: var(--navy); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .header-actions { gap: 12px; margin-left: 10px; }
  .header-cta { min-height: 38px; padding-inline: 10px; font-size: .7rem; }
  .primary-nav { position: absolute; top: 71px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 12px 20px rgba(15,45,58,.08); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid #edf1f0; }
  .primary-nav a::after { display: none; }
  .hero { min-height: min(720px, calc(100svh - 72px)); }
  .hero-content { padding-top: 3rem; padding-bottom: 4.8rem; }
  .hero h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .hero-caption { right: 20px; bottom: 23px; font-size: .64rem; }
  .scroll-cue { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 45px; }
  .about-visual { width: min(100%, 530px); margin: 0 auto; }
  .about-visual img { aspect-ratio: 1.15; object-position: 62% center; }
  .about-copy { max-width: 610px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 35px; }
  .section-intro { max-width: 520px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-item { min-height: 270px; padding: 25px 20px 27px 0; border-bottom: 1px solid #d6e0df; }
  .service-item:not(:first-child) { padding-left: 20px; }
  .service-item:nth-child(2) { border-right: 0; }
  .service-item:nth-child(3), .service-item:nth-child(4) { border-bottom: 0; }
  .service-item:nth-child(3) { padding-left: 0; }
  .service-number { top: 35px; right: 14px; }
  .projects-aside { max-width: 550px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .project-card, .project-card:nth-child(4), .project-card:nth-child(5) { grid-column: auto; }
  .contact-grid { gap: 43px; }
  .contact-copy { padding-top: 0; }
  .contact-intro { max-width: 580px; margin-bottom: 26px; }
  .contact-details { grid-template-columns: repeat(3, 1fr); gap: 13px; }
  .contact-detail { align-items: flex-start; gap: 9px; }
  .detail-icon { width: 34px; height: 34px; }
  .contact-detail strong { font-size: .76rem; overflow-wrap: anywhere; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 28px; }
  .cookie-banner { right: 12px; bottom: 12px; left: 12px; align-items: stretch; flex-direction: column; gap: 14px; padding: 18px; }
  .cookie-actions { flex-wrap: wrap; }
  .cookie-actions .button { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .content-wrap { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 32px); gap: 8px; }
  .brand { width: 72px; }
  .header-actions { margin-left: 2px; }
  .hero { min-height: 630px; min-height: min(700px, calc(100svh - 72px)); }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,28,37,.78), rgba(7,28,37,.35)), linear-gradient(0deg, rgba(7,28,37,.28), transparent 50%); }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-description { max-width: 370px; font-size: .95rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-caption { left: 19px; right: auto; }
  .about-visual { padding-right: 19px; padding-bottom: 23px; }
  .image-note { right: -1px; bottom: 27px; max-width: 195px; padding: 11px 13px; font-size: .68rem; }
  .about-copy h2, .section-heading h2, .contact-copy h2 { font-size: 2.7rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item, .service-item:not(:first-child), .service-item:nth-child(3) { min-height: 0; padding: 23px 32px 25px 0; border-right: 0; border-bottom: 1px solid #d6e0df; }
  .service-item:last-child { border-bottom: 0; }
  .service-item p { max-width: 330px; margin-bottom: 15px; }
  .service-icon { margin-bottom: 15px; }
  .service-number { top: 30px; right: 4px; }
  .project-grid { grid-template-columns: 1fr; gap: 27px; }
  .project-image-wrap img { aspect-ratio: 1.4; }
  .contact-details { grid-template-columns: 1fr; gap: 15px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px 18px; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .form-submit { width: 100%; }
  .site-footer { padding-top: 46px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 16px; padding-bottom: 38px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
  .cookie-actions .button { min-height: 39px; padding-inline: 10px; font-size: .7rem; }
  .cookie-dialog-backdrop { padding: 12px; }
  .cookie-dialog { padding: 30px 20px 22px; }
  .cookie-dialog-actions { flex-direction: column-reverse; }
  .cookie-dialog-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
